To properly display this page you need a browser with JavaScript support.
HTBasic Help
×
Menu
Index
Search
Search
Reference
HTBasic Keywords
CHRX - Returns the width of a character cell.
Previous page
Next page
Print version
(c) TransEra Corp, 2021
To properly display this page you need a browser with JavaScript support.
CHRX
Returns the width of a character cell.
CHRX
Usage:
X1=CHRX
ALLOCATE INTEGER Charcell(1:CHRY,1:CHRX)
PRINT "Your Characters are ":CHRX&" Wide"
Example:
CHRX.BAS
Description:
If your computer display supports multiple display modes or fonts having different character widths, the value returned by
CHRX
is the width for the current display mode.
See Also:
CHRY
, SET CHR