Difference between revisions of "SLEEP"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
 
Line 1: Line 1:
 
 
 
==Purpose==
 
==Purpose==
 
Pause program execution for a specified number of seconds
 
Pause program execution for a specified number of seconds
Line 30: Line 28:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Applications]]
 
[[Category:Applications]]
 
[[Category:Applications Commands]]
 
[[Category:Applications Commands]]

Latest revision as of 16:08, 25 November 2009

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 Server, Recital