>> Console
____________________________

Supported console codes

\t tab (32 pixels)
\a beep
\r\n new line (cr/lf)
\xC clear screen
\e[K clear to EOL
\e[nG moves cursor to specified column
\e[0m reset all attributes to their defaults
\e[1m set bold on
\e[4m set underline on
\e[7m reverse video
\e[21m set bold off
\e[24m set underline off
\e[27m set reverse off
\e[3nm set foreground
color. where n:

0 black
1 red
2 green
3 brown
4 blue
5 magenta
6 cyan
7 white

\e[4nm set background color.
(see set foreground)

PalmOS only:

\e[8nm (n=0..7) select system font
\e[9nm (n=0..3) select buildin font
____________________________

?| PRINT [USING [format];][expr|str [{,|;}[expr|str]]...

Displays a text or the value of an expression.


PRINT SEPARATORS
____________________________

TAB(n) Moves cursor position to the nth column.
SPC(n) Prints a number of spaces specified by n.
; Carriage return/line feed suppressed after printing.
, Carriage return/line feed suppressed after printing.
A TAB character is placed.


The PRINT USING
____________________________

Print USING, is using the FORMAT() to display numbers and strings.
Unlike the FORMAT, this one can include literals, too.

_ Print next character as a literal. The combination _#, for
example, allows you to include a number sign as a literal
in your numeric format.

[other] Characters other than the foregoing may be included as
literals in the format string.

Notes:
* When a PRINT USING command is executed, the format will remains
on the memory until a new format is passed.
Calling a PRINT USING without a new format specified, the PRINT
will use the format of previous call.

Examples:

PRINT USING "##:#,###,##0.00";
FOR i=0 TO 20
PRINT USING; i+1, A(i)
NEXT

PRINT USING "Total ###,##0 of \\"; number,"bytes"
____________________________

CAT(x)

Returns console codes

0 - reset
1 - bold on
-1 - bold off
2 - underline on
-2 - underline off
3 - reverse on
-3 - reverse off

PalmOS only:
80..87 - select system font
90..93 - select custom font

Example:
? cat(1);"Bold";cat(0)
____________________________

INPUT [prompt {,|;}] var[, var [,...]]

Reads from "keyboard" a text and store it to variable.
____________________________

LINE INPUT var
or
LINEINPUT var

Reads a whole text line from console.
____________________________

INPUT(len[,fileN])

This function is similar to INPUT.

This function is a low-level function. That means does not convert the
data, and does not remove the spaces.
____________________________

CLS

Clears the screen.
____________________________

AT x,y (in pixels)

Moves the console cursor to the specified position.

x,y are in pixels
____________________________

LOCATE y,x

Moves the console cursor to the specified position.

x,y are in character cells.
____________________________
