Moves the cursor to a specified position on the virtual screen.
LOCATE X-coordinate , Y-coordinate
└────┬─────┘ └────┬─────┘
Numeric expression Numeric expression
┌────────────────────────────────┐
(0, 0) → │◉ ◉│ ← (31, 0)
│ │
│ │
│ │
│ │
│ │
│ │
(0, 7) → │◉ ◉│ ← (31, 7)
└────────────────────────────────┘
10 CLS
20 LOCATE 0,0
30 PRINT "SCREEN UPPPER LEFT";
40 GOTO 20
Displays messages from upper left of display.