LOCATE statement
Purpose: LOCATE moves the console mode screen cursor to the specified coordinates. This function works only in console mode programs.
Syntax: LOCATE Row%, Column% [, Cursor%, CursorSize%] Parameters:
|
Example:
LOCATE 5,10,1,99 : SLEEP(3000) ' 99 = Full LOCATE 5,10,1,49 : SLEEP(3000) ' 49 = Half LOCATE 5,10,1,12 : SLEEP(3000) ' 12 = normal(default)
Remarks: LOCATE works only in console mode programs.
BCX Console Sample Programs using LOCATE statement.
S00.bas, S35.bas, S38.bas, S40.bas, S41.bas, S100.bas, S119.bas, S135.bas