Documentation

#SUSPEND

SUSPEND

Syntax: #SUS id

Suspends timing of alarm or wait type trigger specified by id. Pattern can be used as id. If id is omited it will attempt to suspend the last trigger created.

In v2.0 or later, the id can also be the name or numeric ID of a thread to suspend.

Example:

#ALARM {+4} {#RESUME ex}
#ALARM "ex" {+5} {#ECHO 5 seconds elapsed}
#SUSPEND ex
After 9 seconds the message "5 seconds elapsed" is displayed

Add comment

Login or register to post comments