Difference between revisions of "SET CLEAR"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
Line 1: Line 1:
==Class==
 
Recital Terminal Developer Environment
 
  
  

Revision as of 14:05, 26 October 2009


Purpose

Control whether or not the screen should be cleared on exit from Recital Terminal


Syntax

SET CLEAR ON | OFF | (<expL>)


See Also

QUIT


Description

The command SET CLEAR controls whether the screen is cleared when exiting. If CLEAR is set OFF then the screen will not be cleared on exit. If CLEAR is set ON, then the screen is cleared as you exit from the system. The default setting for CLEAR is ON.


Example

// Quit if ABANDON was pressed
if lastkey()=ctrl(’g’)
    set clear off
    quit
endif


Products

Recital Terminal Developer