LoginLogin
Might make SBS readonly: thread

TPUT

Root / Documentation / [.]

Created:
Put a character on a text screen at the specified coordinates.

Syntax

TPUT screenID%, x%, y%, charCode% {, attribute% }
TPUT screenID%, x%, y%, string$ {, attribute% }
InputDescription
screenID%ID of the target text screen.
x%, y%Coordinates where to write the character.
charCode%Character code of the character to write.
string$Character to write as a string.
attribute%Display attribute bitset to apply to the character. Optional. If unspecified, the attributes set by ATTR are used.
If string$ is used, only the first character of the string is written.

Examples

'put "A" on text screen 0 at 10,10
TPUT 0, 10, 10, "A"
'put an upside-down user character
TPUT 0, 10, 10, #TUSRCHR+10, #TREVV

No posts yet (will you be the first?)