EasyManua.ls Logo

Atari 400

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
Loading...
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

Related product manuals