05-04-2022, 06:50 PM
Aye, you'd have to determine the size of your words via _PRINTWIDTH to know where to word wrap them, but the glitch I'm talking about is easy to see:
LOCATE y, 800 in your demo. The screen is from 0 to 799.... 800 should toss an error as it's off-screen, but it doesn't.
LOCATE y, 0 should print at the absolute far left of a line, but it doesn't. It tosses an error.
LOCATE and non-monospaced fonts are indexed base 1 instead of base 0, which they need to be to do things correctly. I'll dig into it more over the next few days and see if I can't sort the issue out for us. (And then I'll try and sort it out for PRINT in general, to boot after that.) ;D
LOCATE y, 800 in your demo. The screen is from 0 to 799.... 800 should toss an error as it's off-screen, but it doesn't.
LOCATE y, 0 should print at the absolute far left of a line, but it doesn't. It tosses an error.
LOCATE and non-monospaced fonts are indexed base 1 instead of base 0, which they need to be to do things correctly. I'll dig into it more over the next few days and see if I can't sort the issue out for us. (And then I'll try and sort it out for PRINT in general, to boot after that.) ;D