Saturday, February 4, 2023

❇ LET

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:

LET a$ = "howdy",  b$ = "there"

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"


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

🖥 Flower Tesselation: Testing DRAW and recursive SUB's

This BAM program inspired by Richard Russell's "Flower-like tesselation" BBC BASIC program posted on Facebook . Created in ord...