Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

TEXTAT

Syntax:

textat <byte or int column>, <byte or int row>, "string literal"

or:

textat <byte or int column>, <byte or int row>, <any expression>

The TEXTAT command outputs a string or a number at the given column and row on the screen without affecting the current cursor position. Column and row numbers are zero-based.

Examples:

textat 15, 10, "hello world"
rem -- the following will output "200" as text
textat 15, 10, 200

Note: the runtime library will not prevent the text from overflowing outside the screen thus damaging data or code. The programmer has to make sure the text fits within the screen RAM ($0400-$07E7).