EasyManua.ls Logo

Laser 128 - Get

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.15
GET
Purpose:
BASIC COMMANDS AND STATEMENTS
To
read
a
character
from
the
keyboard
without
echoing
it
on
the screen. No
carriage
return
is
necessary.
Format:
GET
variable
Comments:
The
variable
may
be a
string
or
an
arithmetic
variable.
Example:
When
the
program
expects
an
arithmetic
variable
and
a non-
numeric
key is pressed,
the
"Syntax error" message will
result.
] 10
GET
A$
] 20 C$ = C$ +
A$
] 30
PRINT
C$
] 40
GOTO
10
II-43

Table of Contents