Table of Contents

Advertisement

LET
Purpose
LET stores the data in the variable.
Form
[LET] <variable>s<expression>
Description
(1) The keyword LET can be omitted.
(2) An error occurs if the <variable> is numeric value
and the evaluated result of the <expression> is charac­
ter or vice versa.
(3) If both the <variable> and the <expression> are
numeric values but different types, the <expression> is
calculated first then the result is stored in the
<variable> after conversion,
ed, an error occurrs.
If it cannot be convert-
Examples
>100 A=1:B=2:C=3
>100 A=A+1
>100 A$="ABC+CHR$(&H*n)"
>100 A=0.123456789D-5
>100 A>=231.5
3-58

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents