Please enable JavaScript to view this site.

This instruction stops the program (thus the task) until the condition expressed becomes true.

Syntax

mt_wait (cond)

cond

It is any expression

Validity

Task

Note

It should normally be used in tasks whose execution is required on command (event). In fact, tasks, by standing idle, leave more execution time for other tasks (time-sharing).

To stop the task for an interval of time use dwell

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC