locate (not supported in Axiell Collections)

Syntax

cursor_status = LOCATE(line, column)

Arguments

cursor_status, line, column: integer

Platform

DOS (not supported in Axiell Collections and RunAdapl.exe)

Meaning

Moves the cursor to line line, column column on the screen. The maximum values for line and column depend on the screen dimensions that have been set (normally 24x80). If the result is successful, cursor_status will be 1. If the cursor position exceeds the screen dimensions, cursor_status = 0 and the cursor will remain unmoved.

Example

cursor_status = LOCATE(1, 1)

Result

The cursor moves to the top left-hand corner of the screen and cursor_status gets the value 1.