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.
Required fields*
-
Perfect thanks. Some of the ZX design reasons do not make logical sense to me however the answer is fully comprehensive enough for me.AndyF– AndyF2020-01-14 13:00:35 +00:00Commented Jan 14, 2020 at 13:00
-
1I think many MS versions of basic use the high byte of the line number to distinguish immediate mode (255 == immediate mode), limiting line numbers to 0xFEFF (64279).supercat– supercat2020-01-15 21:19:38 +00:00Commented Jan 15, 2020 at 21:19
-
2Correct but incomplete. It doesn't explain Commodore 64 BASIC (0 to 63999), or GW-BASIC (0 to 65529) for example.Selcuk– Selcuk2020-01-16 01:11:15 +00:00Commented Jan 16, 2020 at 1:11
-
2"No one will ever write a 10,000 line program."bishop– bishop2020-01-16 17:24:18 +00:00Commented Jan 16, 2020 at 17:24
-
To answer @Selcuk, supercat has the right idea. GW BASIC's limit of 65529 was the same as several other BASICs Microsoft created, such as for the TRS-80 line of computers. The reason was that lines 65530 to 65535 were "reserved for system use." For example, the TRS-80 Model I Level 2 BASIC Language Reference states that "65535 is used internally to store a line entered directly without a line number."hackerb9– hackerb92022-08-24 21:11:03 +00:00Commented Aug 24, 2022 at 21:11
Add a comment
|
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. ms-dos), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you