Aye. Our PRINT statements don't wordwrap, so we don't count them true for how many lines they can use. There's only 8 print statements in the demo, but I counted them as 15 lines arbitrarily. At that screensize and font size, I'm certain there's more than that number of lines actually used. Truly, PRINT shouldn't ever be used, but it's just here to showcase the wrap vs non-wrap issues.
As for the break at the whic_h, I'll have to look closer into it. There was a line which I didn't end with a newline character to test continuous printing, and I think that was the place I did so. If so, it's a glitch in the merging of text that needs a wee little tweaking. Either that, or you aren't using the latest version of QB64PE! Old versions have a glitch in them with printing to that last character on some lines, but it should now be fixed for latest editions. Try to update versions and see if the bug is still there.
As for the break at the whic_h, I'll have to look closer into it. There was a line which I didn't end with a newline character to test continuous printing, and I think that was the place I did so. If so, it's a glitch in the merging of text that needs a wee little tweaking. Either that, or you aren't using the latest version of QB64PE! Old versions have a glitch in them with printing to that last character on some lines, but it should now be fixed for latest editions. Try to update versions and see if the bug is still there.