Please enable JavaScript to view this site.

Query if specified timeout variable is expired: the variable can be prepared with timeoutS() or timeoutMs() functions.

Syntax

isTimeout(timeout t): bool

tvar

Source timeout variabile

Result

Return true if timeout expired, false otherwise.

Usage example:

timeout t

t = timeoutS(5) ; Init timeout of 5 second

while (not isTimeout(t)) ; Loop while not timeout

  ; Do something

  if (...) ; Condition to wait more ...

     t = timeoutS(2) ; Reinit timeout of 2 second

  end

end

if (isTimeout(t))

  ; Timeout error

end

...

 

  

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