EasyManua.ls Logo

Laser 128 - Chr

Laser 128
255 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...
3.3
CHR$
Purpose:
BASIC
COMMANDS AND
STATEME
N
TS
Converts
an
ASCII
code
to
its
equivalent
character.
Format:
CHR$
(n)
Comm en ts:
This
opera
ti
on
returns
the
single
character
corresponding
to
the
number
n,
which
mu
st be
between
0
and
255.
Example:
The
ASCII
character
code
s
are
listed
in
Appendix
G.
The
following
example
would
print
all
the
uppercase
letters
of
the
alphabet
(ASCII
codes
65
through
90).
]
IO
FOR
I = 65
TO
90
] 20
PRINT
CHR$(I);
] 30
NEXT
I
II-21

Table of Contents