setACount ()

Sets an alarm number in an alarm time variable.

Synopsis

int setACount(atime &AlertTime, int AlertNo);

Parameters

Parameter Description
AlertTime Time of the alarm
AlertNo 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.

Example

main()
{
  time t;
  t=makeTime(1999,8,23,10,52,46);
  setACount(t, 2);
  DebugN(getACount(t)); // 2
}

Assignment

Data point function

Availability

CTRL