tWidth()
Purpose
Get the text width of the display
Description
Find the number of characters that will fit on the screen horizontally at the current text size
Syntax
textwdith = tWidth( )
Arguments
textwdith The number of characters that will fit on the screen horizontally at the current fontsize
Example
textSize( 100 )
for y = 0 to tHeight() loop
for x = 0 to tWidth() loop
printAt( x, y, ( x + 1 ) % 10 )
update()
repeat
repeat
for i = 1 to 100 loop
update()
repeat
Associated Commands
cursor(), drawText(), ink(), len(), print(), printAt(), stringHash(), textSize(), tHeight()