The LET statement was implemented such that it could only handle one value-to-variable assignment.
Now, the LET statement allows multiple value-to-variable assignments.
For example:
Taking advantage of line continuation, and the LET keyword becomes useful as a visual marker indicating the declaration or variables and value assignments:LET a$ = "howdy", b$ = "there"
LET a$ = "howdy", _
b$ = "there"
As was the case before, the LET keyword is optional (when declaring and assigning a value to one, and only one, variable.
No comments:
Post a Comment