Assignment

Assignment

All lines must start with a command. In order to assign a value to a variable, use the LET command. Multiple variables can be placed before the =. The variable types must match the expression type.
The right side of the assignment is always calculated completely before the assignment is made. This allows a variable to be the target and source of the assignment.
When a value is assigned to a string variable with a sub-string qualifier, it replaces the value of the sub-string qualifier. The length of the value of the string variable may change as a result of this replacement.
Example
An
ASSIGNMENT
example:
10 LET A=5 20 LET B$="HELLO" 30 LET B$(5:5)=B$