Show/Hide Toolbars

XSharp

NoteThis 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

Purpose

Take input from the keyboard and assign it to a memory variable.

Syntax

CLEAR SCREEN

Description

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.

Examples

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"

Assembly

XSharp.RT.DLL