Hello, * On Wed, Nov 03, 2021 at 01:15:34PM +0000 Baltissen, GJPAA (Ruud) wrote: > Now I found out that the C128 can handle lines longer than 80 chars, I had to > know how long they could be. That appears to be 160 characters. that is, 2 lines on the VDC. Makes sense. > On it self not > interesting but I started with line number 1. I created another line by > inserting four zeros and thus creating line 1000. And now I got this error: > String too long. I had to delete four characters from the line before the C128 > accepted it. What I find interesting is that I thought that the length of the > encoded line would be subject to a limitation, not the length on the screen. In > fact in RAM line 10000 is shorter than line 1. How did you create that other line? By modifying the representation in BASIC memory? Then the line number should not matter. If, however, you modified the input buffer, then it has to fit into the buffer of 160 chars. If it was exactly 160 chars before you inserted the zeros, then it will exceed the buffer by four chars after you insert four chars. Note that the KERNAL editor will handle this automatically, as it does not create (logical) lines longer than 88 chars (VIC-20) / 80 chars (C64) / 160 chars (C128) itself. Regards, Spiro -- Spiro R. Trikaliotis https://spiro.trikaliotis.net/Received on 2021-11-03 18:00:02
Archive generated by hypermail 2.3.0.