Does anyone have actual documentation on how MS/Commodore BASIC handles line wrapping in PRINT statements?
I tried this in an online emulator:
In this case it wraps at the 40-column mark (or thereabouts) so the 5 appears under the 1 in column 2. But as the tab width is 10 characters that might just be luck. So;
...wraps between the 6 and 7 and the 7 ends up in column 1. This seems to imply it doesn't simply reset the cursor to column 1 when it passes the 40 mark. I tried longer versions too, and it doesn't seem there's any logical line length - I thought it was 80 but it seemed to just keep going.
Does anyone know the rules here?