Crestron simpl plus language ref 사용자 설명서
Software Crestron
SIMPL+
®
248
z SIMPL+
®
Language Reference Guide - DOC. 5797G
GETMINUTESNUM
Name:
GetMinutesNum
Syntax:
INTEGER GetMinutesNum();
Description:
Returns an integer corresponding to the number of minutes in the current time.
Parameters:
None.
Return Value:
The number of minutes from 0 to 59.
Example:
INTEGER NumMinutes;
FUNCTION MAIN()
{
NumMinutes = GetMinutesNum();
PRINT(“The Number of minutes on the clock is %d\n”,
NumMinutes);
}
An example output of this would be “The Number of minutes on the clock is 33”.
Version:
SIMPL+ Version 1.00