Matrix1 Utility Plug-ins

NICE WAIT FOR TICKER


Syntax

Tick = NICE WAIT FOR TICKER( ticker )

Description

This command works in the same way as the WAIT FOR TICKER command, except that it attempts to reduce the amount of system time it uses.

This function will cause your program to pause until the ticker causes a tick. If the ticker has already expired, this function will return immediately.

Unlike the WAIT FOR TICKER function, this command will cause your program to sleep and not use processor time while it is waiting. Because of this, your program may sleep slightly longer than required before returning.

This function will return one of the following values:
1 - Tick
2 - Final tick
3 - Ticker has expired

Go back to ...

Matrix1Util_02 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011