Difference between revisions of "SET CLEAR"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Control whether or not the screen should be cleared on exit from Recital Terminal | Control whether or not the screen should be cleared on exit from Recital Terminal | ||
Line 15: | Line 8: | ||
==See Also== | ==See Also== | ||
− | QUIT | + | [[QUIT]] |
Line 23: | Line 16: | ||
==Example== | ==Example== | ||
− | < | + | <code lang="recital"> |
// Quit if ABANDON was pressed | // Quit if ABANDON was pressed | ||
if lastkey()=ctrl(’g’) | if lastkey()=ctrl(’g’) | ||
− | set clear off | + | set clear off |
− | quit | + | quit |
− | endif</ | + | endif</code> |
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
− | [[Category:Set_Commands]] | + | [[Category:Set_Commands|CLEAR]] |
+ | [[Category:Terminal Environment]] | ||
+ | [[Category:Terminal Environment Set Commands]] |
Latest revision as of 16:52, 12 November 2009
Purpose
Control whether or not the screen should be cleared on exit from Recital Terminal
Syntax
SET CLEAR ON | OFF | (<expL>)
See Also
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