Difference between revisions of "SLEEP"
From Recital Documentation Wiki
		
		
		
Yvonnemilne  (Talk | contribs)  | 
				Yvonnemilne  (Talk | contribs)   | 
				||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| − | |||
==Class==  | ==Class==  | ||
Applications  | Applications  | ||
| Line 15: | Line 12: | ||
==See Also==  | ==See Also==  | ||
| − | [[DIALOG BOX]], [[  | + | [[DIALOG BOX]], [[INKEY()]], [[ON KEY]], [[SET MESSAGE]]  | 
| Line 26: | Line 23: | ||
use patrons index events, dates, names  | use patrons index events, dates, names  | ||
seek "CONCERTO"  | seek "CONCERTO"  | ||
| − | if   | + | if not found()  | 
| − | set message to "Event not found."  | + |     set message to "Event not found."  | 
sleep 2  | sleep 2  | ||
set message to  | set message to  | ||
| Line 38: | Line 35: | ||
[[Category:Documentation]]  | [[Category:Documentation]]  | ||
[[Category:Commands]]  | [[Category:Commands]]  | ||
| + | [[Category:Applications]]  | ||
| + | [[Category:Applications Commands]]  | ||
Revision as of 14:12, 4 June 2009
Class
Applications
Purpose
Pause program execution for a specified number of seconds
Syntax
SLEEP <expN>
See Also
DIALOG BOX, INKEY(), ON KEY, SET MESSAGE
Description
The SLEEP command pauses execution of a program for the specified number of seconds.
Example
use patrons index events, dates, names seek "CONCERTO" if not found() set message to "Event not found." sleep 2 set message to endif
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer