Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Possible bug: Word-wrap oddity
#11
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
Reply


Messages In This Thread
Possible bug: Word-wrap oddity - by hanness - 05-04-2022, 06:41 AM
RE: Possible bug: Word-wrap oddity - by Pete - 05-04-2022, 08:38 AM
RE: Possible bug: Word-wrap oddity - by Pete - 05-04-2022, 09:50 AM
RE: Possible bug: Word-wrap oddity - by SMcNeill - 05-04-2022, 10:35 AM
RE: Possible bug: Word-wrap oddity - by hanness - 05-04-2022, 04:35 PM
RE: Possible bug: Word-wrap oddity - by Pete - 05-04-2022, 05:06 PM
RE: Possible bug: Word-wrap oddity - by SMcNeill - 05-04-2022, 05:50 PM
RE: Possible bug: Word-wrap oddity - by hanness - 05-04-2022, 06:15 PM
RE: Possible bug: Word-wrap oddity - by SMcNeill - 05-04-2022, 06:18 PM
RE: Possible bug: Word-wrap oddity - by Pete - 05-04-2022, 06:29 PM
RE: Possible bug: Word-wrap oddity - by SMcNeill - 05-04-2022, 06:50 PM
RE: Possible bug: Word-wrap oddity - by Pete - 05-04-2022, 09:57 PM



Users browsing this thread: 5 Guest(s)