EasyManua.ls Logo

Commodore VIC-20 - Page 61

Commodore VIC-20
308 pages
Print Icon
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
Format:
Abbreviation:
Screen
Display:
LEN(X$)
None
None
Action:
Returns
the
number
of
characters
in
XS.
Non-printing
characters
and
blanks
are
counted.
EXAMPLE:
10XS
=
"COMMODORE
COMPUTER"
20
PRINT
LEN
(XS)
18
READY.
LOG
Format:
Abbreviation:
Screen
Display:
LOG(X)
None
None
Action:
Returns
the
natural
logarithm
of
X.
X
must
be
greater
than
zero.
EXAMPLE:
PRINT
LOG
(45/7)
1.86075234
READY.
MIDS
Format:
Abbreviation:
Screen
Display:
MID$(X$,
I[,J])
Action:
Returns
a
string
of
length
J
characters
from
XS
beginning
with
the
tth
character.
I
and
J
must
be
in
the
range
0
to
255.
If
J
[s
omitted
or
if
there
are
fewer
than
J
characters
to
the
right
of
the
Ith
character,
all
rightmost
characters
beginning
with
the
Ith
character
are
returned.
If
l>LEN(X$)p
MIDS
returns
a
null
string.

Other manuals for Commodore VIC-20

Related product manuals