Difference between revisions of "SET RUNWAIT"

From Recital Documentation Wiki
Jump to: navigation, search
Line 15: Line 15:
  
 
==See Also==
 
==See Also==
SET RUNCLEAR, !, RUN, RUN(), DB_RUNLOG
+
[[!]], [[RUN]], [[SET RUNCLEAR]], [[RUN()]], [[DB_RUNLOG]]
  
  
Line 40: Line 40:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
[[Category:Set_Commands]]
+
[[Category:Set_Commands|RUNWAIT]]

Revision as of 15:56, 11 March 2009

SET RUNWAIT

Class

Recital Terminal Developer Environment


Purpose

Enable or disable the ’wait message’ after RUN/! Commands and RUN() function.


Syntax

SET RUNWAIT ON | OFF | (<expL>)


See Also

!, RUN, SET RUNCLEAR, RUN(), DB_RUNLOG


Description

The SET RUNWAIT command controls whether a wait message is displayed after execution of a RUN/! Command or RUN() function. By default SET RUNWAIT is OFF.

This command allows the optional logical expression <expL> to be evaluated. If a value of .T. is returned, RUNWAIT is set ON, otherwise it is set OFF.


Example

dialog message [Backup data tables to tape?]
if chr(lastkey()) = [Y]
set runclear on
set runwait on
run tar cvf /dev/rmt0 *.db*
set runwait off
set runclear off
endif


Products

Recital Terminal Developer