☜ | MWAPI - Timers1995 Version of ANSI (Equivalent to Current ISO Version) of Standard | ☞ |
A timer generates an event after a specified time interval elapses. It has no visible representation.
The ssvn ^$WINDOW contains information about the timers accessible to a process, in the form
^$W[INDOW] ( wname , tkeyword , tname , elattribute )
tname is the identifier for a timer and wname is the identifier for the window that is the parent of that timer.
tkeyword | ::= | expr V T |
Provided that event processing is activated and that the ACTIVE wattribute has a value of TRUE for all ancestor windows and that the timer’s INTERVAL elattribute has a valid value and that timer events are enabled for a timer, an interval timer starts (a) whenever a value is assigned to one or more of the timer’s elattributes or (b) whenever a value of TRUE is assigned to the ACTIVE wattribute of an ancestor window or (c) the application executes an explicit or implicit M[UMPS] QUIT command from a callback routine processing a timer event for the timer.
An interval timer is cancelled (a) whenever a value is assigned to or removed from one or more of the timer’s elattributes or (b) the timer is destroyed or (c) whenever a value of FALSE is assigned to the ACTIVE wattribute of an ancestor window.
If, after a timer starts, the time period specified by the timer’s INTERVAL elattribute elapses without the interval timer being cancelled, the interval timer expires and a timer event occurs for the timer.
Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.
This page most recently updated on 14-Nov-2023, 22:02:43.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)