Quote:
Originally Posted by The Toni
@ ******, I am a little confused on 'sleep'.
From the .pdf :
sleep expressionAbort the program, but leave it in a re-startable state. The expression
is optional. If included, the sleep instruction returns the
expression value (plus the expression tag) to the host application.
The significance and purpose of exit codes/tags is implementation
defined; typically, an application uses the sleep instruction to allow
for light-weight multi-tasking of several concurrent pawn programs,
or to implement “latent” functions.
|
I know that sleep only works in main and main is an extra task which is executed next to the script
I would like to know in what unit of time the expression should be (I suppose ms) and what happens without expression