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.

6
  • 5
    Some basics saved the line number as an ASCII string, so that could explain 4 digit maximum. Using max 32767 could be using signed integer of some reason, or the top bit was used by the interpreter/editor for marking purposes Commented Jan 14, 2020 at 12:43
  • I was not aware of storing it as a string , useful to know ! Thank you. Commented Jan 14, 2020 at 12:59
  • Will look into which versions employ strings for this , logic tells me early variants. Commented Jan 14, 2020 at 13:21
  • 2
    According the ZX Spectrum Manual, the line number is not stored as a string, see: worldofspectrum.org/ZXBasicManual/chap24diag3.gif Commented Jan 14, 2020 at 13:37
  • 5
    oric basic accepts 63999 but not 64000 as a line number... Commented Jan 14, 2020 at 22:53