AT
PRINT item
AT is used in PRINT statements to change the position at which new characters are displayed on the screen. AT is also used to change the place that INPUT items are displayed in the lower screen.
How to use AT
AT may be used to form a statement. It is preceded by PRINT or INPUT, and is followed by two numeric values separated by a comma, for example
10 PRINT AT 21,0;"The lowest line"
The first value following AT (21 above) defines the row component of the new position. This is rounded down to the nearest integer if necessary, and may range from 0 to 21. The second value is also rounded down if necessary and may then range from 0 to 31, and defines the column of the new position. Any characters then displayed will start at this new position.
Using AT with INPUT
In an INPUT statement, AT will change the position on the lower screen that new prompts appear. The first value moves the prompt position up as it increases. The second value changes the column as above.
Format
- AT int-num-expr, int-num-expr
See also