Difference between revisions of "SET TIMEOUT"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 42: Line 42:
 
==Products==
 
==Products==
 
Recital Terminal Developer
 
Recital Terminal Developer
 +
[[Category:Documentation]]
 +
[[Category:Commands]]
 +
[[Category:Set_Commands]]

Revision as of 17:26, 10 March 2009

SET TIMEOUT

Class

Screen Environment


Purpose

Set the timeout delay


Syntax

SET TIMEOUT [TO <expN> | <ON | OFF>]


See Also

ON TIMEOUT, SET CLOCK, SET CLOCKDISPLAY


Description

The SET TIMEOUT command sets the number of seconds (<expN>) before the event assigned by the ON TIMEOUT command is executed. SET TIMEOUT ON activates the timer, SET TIMEOUT OFF deactivates the timer. SET CLOCK must be ON.


Example

procedure p_timeout
dialog box "Timeout Occurred."
set timeout off
quit
return

set clock on
on timeout do p_timeout
set timeout to 4
set timeout on
m_var = space(10)
@00,00 say "Enter Value: " get m_var
read
return


Products

Recital Terminal Developer