Hacker News new | past | comments | ask | show | jobs | submit | kfkfkif's comments login

We solved the line numbering issue with 100-increments


I have a vague memory that there was a reason for not doing this - something about using more memory or hitting a ceiling of some sort. The major problem of course was not having anyone to tell you that this was a bad idea.

I still remember trying to work out how to program in machine code by poking different values into memory. I had my own guide on what values to avoid and what values worked without having the slightest idea what I was doing.


Absolutely. BASIC on a Sharp 6000 pocket pc[1] for example was limited to (32k or) 64k lines of 256 characters each. Like in many other basic versions, there was no automatic renumbering. Discovered it the hard way.

[1] https://duckduckgo.com/?q=sharp+pocket+pc&t=ffab&iar=images&...


I do recall there being a maximum limit on line numbers. I don't recall ever using a BASIC that couldn't renumber.


Likely 65535. I can't imagine a computer in that era using more than 2 bytes for a line number.


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: