User`s guide
Chapter
5
BASIC
Commands
85
Example
CURSOR(0)
See Also
CURSOR_X, CURSOR_Y, LOCATE
CURSOR_X
Purpose
To get the current x-coordinate of the cursor.
Syntax
X% = CURSOR_X
Remarks
"X%" is an integer variable to be assigned to the column position of the cursor.
Example
ON READER(1) GOSUB BcrData_1
...
BcrData_1:
BEEP(2000,5)
Data$ = GET_READER_DATA$(1)
Pre_X% = CURSOR_X
Pre_Y% = CURSOR_Y
Locate 8, 1
PRINT Data$
Locate Pre_Y%, Pre_X%
RETURN
See Also
CURSOR, CURSOR_Y, LOCATE
CURSOR_Y
Purpose
To get the current y-coordinate of the cursor.
Syntax
"Y%" = CURSOR_Y
Remarks
"Y%" is an integer variable to be assigned to the column position of the cursor.