From C64-WikiJump to navigationJump to search
in BASIC ROM:
|List of all BASIC keywords|
Type: Keyword part
In Commodore BASIC V2, the keyword TO is used in two contexts:
- As part of a FOR-NEXT loop.
- As part of the "GO TO" construct: This does exactly the same as GOTO, but the "split" into the words "GO" and "TO" has been implemented, seemingly to maintain compatibility with other (earlier?) "flavors" of BASIC.
Important: This keyword don't use as a name of a variable or a part of them. When TO isn't used as right keyword the BASIC error ?SYNTAX ERROR occurs.