EasyManua.ls Logo

Crestron SIMPL+ - SIMPL+ System Control; System Control Overview; Delay Statement

Crestron SIMPL+
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Software Crestron SIMPL+
®
234 z SIMPL+
®
Language Reference Guide - DOC. 5797G
System Control
System Control Overview
These constructs control system behavior and may change the resultant flow of the
given SIMPL+ program.
Delay
Name:
Delay
Syntax:
Delay(INTEGER TIME);
Description:
Forces a task switch and starts a timer for the hundredths of a second specified by
TIME. The system continues with the statements after a delay when the delay time
has expired. Refer to “WAIT” on page 265.
Parameters:
TIME is the number of hundredths of a second to delay. For example, 500 specifies
a 5-second delay.
Return Value:
None.
Example:
// A delay of 525 hundredths of a second or 5.25 seconds
#define_constant MY_DELAY 525
DELAY(MY_DELAY);
Version:
SIMPL+ Version 1.00

Table of Contents