Does anyone have actual documentation on how MS/Commodore BASIC handles line wrapping in PRINT statements?
I tried this in an online emulator:
PRINT 1,2,3,4,5,6,7,8,9,0
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;
PRINT 1,2,3,4;5;6;7;8;9;10
...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?