mk90.basic.statements
Statement LOCATE
Set the text cursor position.
Syntax
LOCATE column, rowParameters
| Parameter | Meaning |
|---|---|
column | Expression in the inclusive range 0–29. |
row | Expression in the inclusive range 0–9. |
Behavior
Coordinates are zero-based character cells; the first parameter is the column. Text can wrap and scroll the console as usual after this position. Out-of-range values cause runtime status 35.
Example
10 CLS
20 LOCATE 4,2
30 PRINT "MK90"
40 ENDLimits and diagnostics
These are text coordinates, not the 120×64 pixel coordinates used by drawing statements.
See also
PRINT · CLS · PSET · Language syntax