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

🚧 In the Works: "Code Insertion" buttons

Try this in the 🔗 development version of BASIC Anywhere Machine . Who likes looking up statement/function statements (or code blocks) to wh...