LET

PURPOSE:
To ASSIGN values to STRINGS and NUMERICS.
STATEMENT SYNTAX:
{stno} {LET} {num var=num expr} {,str var=str expr}
where:
num var = any numeric variable.
num expr = any expression which results in a numeric value.
str var = any string variable.
str expr = any expression which results in a string value.
EXAMPLE:
0100 LET A=89.5,B(9)=0,C$="",D$(5)=F$+" "+G$
0200 LET C=(A+A)/B,C=C+1,G$(5)=""
0300 LET F8$="##,###.00CR",W$(3,2)="$$"
0400 LET I%=1234
0500 A$=K!["ALL"]
NOTES:
The programmer does not have to enter the LET since the SM32 compiler assumes it is compiling a LET command if it cannot find a command.