setACount ()
Sets an alarm number in an alarm time variable.
Synopsis
int setACount(atime &AlertTime, uint AlertNo);
Parameters
Parameter | Description |
---|---|
AlertTime | Time of the alarm |
AlertNo | Unsigned number of the alarm |
Return value
If successful 0, in the event of an error -1.
Errors
no/incorrect arguments
Description
Sets an alarm number in an alarm time variable. The alarm number is stored within the alert time structure.
setACount ()
main()
{
time t;
t=makeTime(1999,8,23,10,52,46);
setACount(t, 2);
DebugN(getACount(t)); // 2
}
Assignment
Availability
CTRL