Toshiba KB-80 사용자 설명서
- 45 -
LOCATE
Function
Specifies the position of the cursor on the screen and determines the display of the
cursor.
cursor.
Format
LOCATE [ <line> ] [, [ <column> ] [, < <switch> ] ] ]
Term
<line>:
The vertical position on the screen (1 to 2)
<column>: The horizontal position on the screen (1 to 16)
<switch>:
Determines whether or not the cursor is displayed when the program is
executed.
executed.
0: Not displayed
1: Displayed
1: Displayed
Explanation
The cursor is moved to the position specified in <line> and <column>. The output of
characters by the PRINT statement is performed from the position of the cursor.
characters by the PRINT statement is performed from the position of the cursor.
The display of the cursor can be selected in <switch>. The cursor is not usually
displayed in the program execution state, except when waiting for input from the
INPUT statement. When 1 is set in <switch>, the cursor is also displayed during
execution of the program.
displayed in the program execution state, except when waiting for input from the
INPUT statement. When 1 is set in <switch>, the cursor is also displayed during
execution of the program.