Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • 1
    That is correct, but there is a second and more complex format used when a line number is the target of a GOTO or GOSUB. This is the "line number" token (&8D) followed by the number encoded into three bytes such that none of them are >= &80. (This is done so that they cannot be confused with legitimate tokens, and is an optimisation for scanning through lines at run time eg when looking for the ELSE in an IF...THEN statement.) Commented Jan 10, 2021 at 21:08