EasyManua.ls Logo

Laser 128 - Let

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...
BASIC COMMANDS AND
STATEMENTS
3.31
LET
Purpose:
To
assign a
value
to
a
variable
Format:
[LET] variable = expression
Comments:
LET
is
an
optional
statement,
and
is
becoming
less
frequently
used.
Example:
The
equal
sign
"="
has
exactly
the
same
effect
as LET.
The
expression
can
be
either
a
constant
or
an
arithmetic
expression
.
If
you
attempt
to
numeric
value
to
variable,
then
the
"TYPE
MISMATCH
will
be
displayed.
] 10
LET
A =
IO
] 20
PRINT
A
]
30
LET
B =
40
]
40
LET
B
=A
]
50
PRINT
B
]
RUN
10
10
II-62
assign a
a
string
message
ERROR"

Table of Contents