LET: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[LET]] is a | [[LET]] is a needless statement today. It was designed for the very early BASIC dialects to assign a value to a variable. | ||
Revision as of 18:18, 17 December 2022
LET is a needless statement today. It was designed for the very early BASIC dialects to assign a value to a variable.
Syntax
- LET variable = expression
Description
- LET a = 12 is the very same as a = 12, but wastes 4 extra bytes of program space.
- That said, LET is optional, it's the only keyword where the entire keyword is optional.😀
See also