Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there an inconsistency in the Locate function?
#4
Great Steve, you uniformizes the dimensions of the characters of a font file!

@PhiloFPerth
you can get the reason here in the wiki

Quote:
  • In _NEWIMAGE graphic screen the number of text rows are calculated as _HEIGHT \ 16 except when a _FONT is used. Use _FONTHEIGHT to calculate font rows.
  • _NEWIMAGE graphic screen text columns are calculated as _WIDTH \ 8 except when a _FONT is used. Use _PRINTWIDTH to measure a line of font text.


LOCATE in _Newimage

Good study!
Reply


Messages In This Thread
RE: Is there an inconsistency in the Locate function? - by TempodiBasic - 05-25-2023, 02:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Star Suggestion for new REPLACE$() function zaadstra 3 248 01-26-2026, 05:11 PM
Last Post: grymmjack
  Is there a menu function? Mad Axeman 17 1,064 12-17-2025, 04:43 AM
Last Post: SMcNeill
  Locate command on the ttf graphical screens Helium5793 5 712 03-09-2025, 05:47 PM
Last Post: SMcNeill
  Using the Screen function PhilOfPerth 19 3,076 04-16-2024, 05:23 PM
Last Post: bobalooie
  The Locate command eoredson 0 434 04-13-2024, 06:27 AM
Last Post: eoredson

Forum Jump:


Users browsing this thread: 1 Guest(s)