cls

Prev Next

Function Names

cls

Description

The screen as well the entire screen buffer will be cleared. If you want to preserve the screen buffer, then consider the following functions:

  • clear(all) clears the screen where buffered contents above the screen window is preserved
  • clear(all below) clears the screen where all contents including the visible ones are preserved. Scroll up to see all prior contents.

Call as: procedure

Restrictions

Indirect parameter passing is disabled

Parameter count

0

Exceptions

none

Examples

    savecode
    cls;
    echo( "Text appears on the top of the empty screen" );

Output

    Text appears on the top of the empty screen

See also

clear