statement/CHAR statement/CHAR
NAME
CHAR -- Prints string on a screen
ABBREVIATION
ch <shift> A
SYNOPSIS
CHAR [<color_src>],<left>,<top>,"<string>"[,<reverse_flag>]
FUNCTION
Text (alphanumeric strings) can be displayed on any screen at a given
location by the CHAR command. Character data is read from the computer
character ROM area. You supply the left (<left>) and top (<top>)
coordinates of the starting position and the text string (<string>) you
want to display, color (<color>) and reverse imaging (<reverse_flag>)
are optional.
The string is continued on the next line if it attempts to print past
the right edge of the screen. When Used in TEXT mode, the string printed
by the CHAR command works just like a PRINT string, including reverse
field, cursors, flash on/off, etc. These control functions inside the
string do not work when the CHAR command is used to display text in
GRAPHIC mode.
INPUTS
<color_src> - printing color source (0-3)
<left> - character column (0-39)
<top> - character row (0-24)
<string> - text to be printed
<reverse_flag> - reverse field flag (0=off, 1=on)
RESULT
Prints given string on a screen at a given position.
EXAMPLES
CHAR 1,10,10,"HELLO!"
NOTES
None
BUGS
None
SEE ALSO
GRAPHIC
PRINT