CLREOS and CLREOL

CLREOS and CLREOL are format expression subcommands which clear portions of the terminal screen quickly.

CLREOS clears the screen from the current cursor position to the end of the screen (Note that on some terminals this command always clears the entire screen). CLREOL clears from the current cursor position to the end of the current line.

Example:

  PRINT @(1 ,1,CLREOS)      clear the whole screen 
  PRINT @(10,5,CLREOL)      clear line 5 from column 10 
                            to the end of the line

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.