Crestron simpl plus language ref 사용자 설명서

다운로드
페이지 374
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