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

🖥 Pongy game

This program is a port (and slight mod) of the QB64pe program by SierraKen.  (SierraKen's program shared with the QB64pe community in th...