DISPLAY
Format: DISPLAY (expr1, expr2)
Supported by: Floating Point BASIC 2.2
Similar commands: -
This statement's function is the same as a PRINT statement except BASIC will evaluate expr1 and expr2 for X, Y coordinates of where to start displaying from the upper left hand corner of the video screen. The resultant values are where the upper left hand pixel of the first character will be located.
Examples:
5 CLS 10 DEFINT A 20 A=0 30 DISPLAY (0, 119)"A=" 40 DISPLAY (8, 119) A 50 A=A+1 60 GOTO 40
This example will display a continuously incrementing value of A at the lower left hand corner of the screen. When a DISPLAY statement is executed, the cursor remains located where the last PRINT statement left it. Therefore, the DISPLAY instruction does not effect the concurrent use of PRINT statements.