Trying to be better scripter.
#10

Quote:
Originally Posted by The Toni
Посмотреть сообщение
@ ******, I am a little confused on 'sleep'.
From the .pdf :
sleep expression
Abort 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
Reply


Messages In This Thread
Trying to be better scripter. - by GaGlets(R) - 04.09.2010, 22:33
Re: Trying to be better scripter. - by woot - 04.09.2010, 22:39
Re: Trying to be better scripter. - by Thebest96 - 04.09.2010, 23:34
Re: Trying to be better scripter. - by LarzI - 04.09.2010, 23:39
Re: Trying to be better scripter. - by Toni - 05.09.2010, 00:16
Re: Trying to be better scripter. - by GaGlets(R) - 05.09.2010, 01:26
Re: Trying to be better scripter. - by Toni - 05.09.2010, 01:28
Re: Trying to be better scripter. - by RSX - 05.09.2010, 11:34
Re: Trying to be better scripter. - by Toni - 05.09.2010, 15:24
Re: Trying to be better scripter. - by Nero_3D - 05.09.2010, 17:57

Forum Jump:


Users browsing this thread: 5 Guest(s)