On 30.10.21 23:12, silverdr_at_srebrnysen.com wrote: > So unless Ruud wants to build also a BASIC "screen editor" mimicking the C64 one's behaviour, I see no point/problem with lines longer than 80 chars. That is, until... > >> There is probably a limit of 255 bytes somewhere though. > > ... which I can neither confirm nor deny as I simply don't remember whether I even tried to get over 255/256 bytes per BASIC line. I think there is such a limit. When relinking the lines BASIC has to search the 0-byte that marks the end of the line. Almost certainly this is done with a loop using X or Y as index and thus limiting the search to 255 bytes. I've used a program back then that removed unnecessary stuff (spaces between keywords and variables/values, " at the end of lines, …) and crammed as much into as little lines as possible, renumbering from 1 in increments of 1 along the way. Programs that generate DATA lines may also not care about the limits of the screen editor but only about the limits of the runtime part of the BASIC. Ciao, Marc 'BlackJack' Rintsch -- The best thing about a boolean is even if you are wrong, you are only off by a bit.Received on 2021-10-31 02:00:03
Archive generated by hypermail 2.3.0.