Note | This command is defined in a header file and will be preprocessed by the X# preprocessor to a function call. If you disable the standard header (-nostddefs) files then this command will not be available. If you tell the compiler to use a different standard header file (-stddef ) then this command may also be not available |
Take input from the keyboard and assign it to a memory variable.
CLEAR SCREEN
The command CLEAR erases the screen.
After execution of the CLEAR command, the cursor is positioned at 0, 0 and the functions Row() and Col() are updated.
This example uses ACCEPT to get keyboard input from the user:
FUNCTION Start AS VOID
SET COLOR TO gr+/B // Yellow on Blue
CLEAR SCREEN
? "Hello world"
XSharp.RT.DLL