CPOS
Format: CPOS (expr1, expr2)
Supported by: Pecom 32 BASIC, Pecom 64 BASIC 1.0 and 4.0
Similar commands:
COMX BASIC V1.00: CPOS
Telmac SBASIC v 24.3: MOVE
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
10 CPOS (12, 11) 20 PRINT "THIS IS A TEST" RUN
will print the message at the centre of the screen.