EasyManua.ls Logo

Crestron SIMPL+ - GETSECONDSNUM Function

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+
®
250 z SIMPL+
®
Language Reference Guide - DOC. 5797G
GETSECONDSNUM
Name:
GetSecondsNum
Syntax:
INTEGER GetSecondsNum();
Description:
Returns an integer corresponding to the number of seconds in the current time.
Parameters:
None.
Return Value:
The number of seconds from 0 to 59.
Example:
INTEGER NumSeconds;
FUNCTION MAIN()
{
NumSeconds = GetSecondsNum();
PRINT(“The Number of seconds on the clock is %d\n”,
NumSeconds);
}
An example output of this would be “The Number of seconds on the clock is 25”.
Version:
SIMPL+ Version 1.00

Table of Contents