Graphics
5-4
TEXT MODE
In Text Mode you can display text, i.e., letters,
numbers, and all special characters of the
GWBASIC character set. You can set the
character foreground and background colors
using the COLOR (Text) statement. This
statement also allows you to create blinking,
reverse image, invisible, highlighted, and
underscore characters.
Characters are displayed in 25 horizontal lines
numbered 1 through 25, from top to bottom.
Each line has 40 (or 80) character positions. The
WIDTH command allows you to select the
number of columns.
The LOCATE statement positions the cursor on
the active screen. The cursor column and line
coordinates are returned by the POS(0) and
CSRLIN functions.
Characters are normally displayed, using the
PRINT or PRINT USING statements, at the
cursor position from left to right on each line,
from line 1 to 24. When the cursor passes to
line 25, lines 1 through 24 are scrolled up one
line.