Cls Statement

Clears the Epson RC+ Run, Operator, or Command window text area.

Clears also the TP print panel.

Syntax
(1) Cls #deviceID
(2) Cls

Parameters

deviceID

  • 21 RC+
  • 24 TP (TP1 only)
  • 20 TP3

When deviceID is omitted, the display device is cleared.

Description
Cls clears the current Epson RC+ Run or Operator window text area, depending on where the program was started from.

If Cls is executed from a program that was started from the Command window, the command window text area is cleared.

When deviceID is omitted, the display of the current display device is cleared.

Cls Statement Example
If this example is run from the Run window or Operator window, the text area of the window will be cleared when Cls executes.

Function main
    Integer i

    Do
        For i = 1 To 10
            Print i
        Next i
        Wait 3
        Cls
    Loop
Fend