EasyManuals Logo

Atari 400 User Manual

Atari 400
326 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #135 background imageLoading...
Page #135 background image
LEN
Alari BASIC Reference
Guide
133
CONFIGURATION
X = INT
(a)
EXAMPLES
PRINT INT (13.9)
13
PRINT INT (-4.7)
-5
The
LEN
function
returns the
number
of
characters in a string
value
or
variable,
including
spaces and
punctuation.
CONFIGURATION
X =
LEN
(string)
EXAMPLE
10
DIM
A$(20)
20
A$ = "JONES, BILL"
30
PRINT LEN(A$)
40
PRINT LEN{"BILL JONES")
RUN
10
10
Line
10
dimensions the variable A$, and
line
20 assigns A$ a string
value. Line
30
displays
the
numb
er
of
characters
in
the variable
A$. Line
40
displa
ys
the
number
of
characters
in
the
string "BILL
JONES
".
LET
(LE
.)
The
LET
statement
is
optional.
It
is used
to
assign a value
to
a
variable.

Other manuals for Atari 400

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atari 400 and is the answer not in the manual?

Atari 400 Specifications

General IconGeneral
ManufacturerAtari
Model400
TypeHome Computer
Release Year1979
CPUMOS Technology 6502
CPU Speed1.79 MHz
ROM10 KB
Operating SystemAtari OS
KeyboardMembrane keyboard
RAM8 KB (expandable to 48 KB)
GraphicsANTIC and GTIA chips
Sound4 channels
DisplayRF output for connection to TV
StorageOptional cassette tape drive or floppy disk drive
PortsCartridge
Display Resolution320x192 (16 colors)

Related product manuals