Format: CPOS (expr1, expr2)
Supported by: Pecom 32 BASIC, Pecom 64 BASIC 1.0 and 4.0
This statement (Cursor Position) directs the cursor to a position in the screen specified by the two expressions in bracket. The first specifies the column position (0 to 39) and the second, the row position (0 to 23) of the cursor. CPOS may be used together with PRINT for printing messages and headings beginning from specified position on the screen, or with CHRGEN to create color graphics. For example
will print the message at the centre of the screen.