LOCATE moves the console mode screen cursor to the specified coordinates.
Syntax:LOCATE Row AS INTEGER, _ Column AS INTEGER _ [, Cursor AS INTEGER] _ [, CursorSize AS INTEGER] Parameters:
|
👉 LOCATE works only in console mode programs.
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)
BCX_PUSHCONSOLESIZE saves the current console X, Y size.
Syntax:BCX_PUSHCONSOLESIZE Return Value:
Parameters:
|
BCX_SETCONSOLESIZE sets a custom sized console.
Syntax:BCX_SETCONSOLESIZE(CharsWidth AS INTEGER, CharsHeight AS INTEGER) Return Value:
Parameters: |
BCX_POPCONSOLESIZE restores the last saved console X, Y size.
Syntax:BCX_POPCONSOLESIZE Return Value:
Parameters:
|
👉 One must start this demo from an already-opened command prompt window, to get the full benefit of the demo.
SUB MAIN BCX_PUSHCONSOLESIZE ' Save a copy of the command prompt window size BCX_SETCONSOLESIZE(40,10) ' Set a custom size PAUSE ' Observe the new (smaller) size BCX_POPCONSOLESIZE ' Restore the original size END SUB