WAIT |
Top Previous Next |
Syntax WAIT(OPT nosleep=0 as INT) Description Waits for a window event. Parameters nosleep - Optional sleep parameter. Return value None Remarks Using nosleep = 1 checks for messages and returns immediately if none are available. WAIT will normally check for messages and then put the process in a sleep state until a message is available. WAIT should only be used in special circumstances where you need more control of when messages are processed. See Also: WAITUNTIL Example usage DO |