318 of 323
ZBasic System Library 308 ZX Microcontroller Family Resource Usage The interval counter is driven off of the real time clock. If interrupts are disabled for long periods of time, the timing won’t be accurate. I/O routines that disable interrupts typically track RTC ticks and then update the RTC when the I/O process has completed. At this same time, the interval counter will be updated as well accounting for, at most, one missed expiration. There is a single, system-wide interval timer. Only one task can be awaiting an interval at a time. If a task is already waiting, another call to WaitForInterval() will return immediately. Compatibility This routine is not available in BasicX compatibility mode. See Also SetInterval