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
(Created page with "The LET is a useless statement designed by cavemen when they started programming. {{PageSyntax}} : '''[LET]''' {{Parameter|variable}} = {{Parameter|expression}} {{PageDescription}} * {{InlineCode}}LET a = 12{{InlineCodeEnd}} is the same as {{InlineCode}}a = 12{{InlineCodeEnd}}, but wastes 4 extra bytes of program space. ''Notes:'' LET is '''optional''', it's the only keyword where the '''entire keyword''' is optional :-) {{PageSeeAlso}} * Cavemen * [...") |
No edit summary |
||
Line 1: | Line 1: | ||
[[LET]] is a (more or less) needless statement designed for the very early BASIC dialects. | |||
{{PageSyntax}} | {{PageSyntax}} | ||
: | : [[LET]] {{Parameter|variable}} = {{Parameter|expression}} | ||
{{PageDescription}} | {{PageDescription}} | ||
* {{InlineCode}}LET a = 12{{InlineCodeEnd}} is the same as {{InlineCode}}a = 12{{InlineCodeEnd}}, but wastes 4 extra bytes of program space. | * {{InlineCode}}LET a = 12{{InlineCodeEnd}} is the very same as {{InlineCode}}a = 12{{InlineCodeEnd}}, but wastes 4 extra bytes of program space. | ||
;Notes:[[LET]] is '''optional''', it's the only keyword where the '''entire keyword''' is optional.😀 | |||
{{PageSeeAlso}} | {{PageSeeAlso}} | ||
* [[Variable]] | * [[Variable]] | ||
{{PageNavigation}} | {{PageNavigation}} |
Revision as of 16:42, 11 June 2022
LET is a (more or less) needless statement designed for the very early BASIC dialects.
Syntax
- LET variable = expression
Description
- LET a = 12 is the very same as a = 12, but wastes 4 extra bytes of program space.
- Notes
- LET is optional, it's the only keyword where the entire keyword is optional.😀
See also