[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
RE: Making xPLHal scripts sleep
- Subject: RE: Making xPLHal scripts sleep
- From: John B
- Date: Tue, 20 May 2003 07:25:00 +0000
> One way would be to grab the time, add 30 secs, loop until time
reached.
True, but I don't want to waste any CPU time by having the script
constantly
looping checking the time.
> As far as I know sleeping should be fine, other scripts will continue
to
> run.
Cool.
> <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/ht">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/ht</a>
> ml/vtorifunctions.asp
>
> Is useful for vbscript functions.
WScript.Sleep(period) works in VBScript files, but not inside xPLHal - I
suspect
the WScript object doesn't exist in xPLHal.
> Or I can add a sys.sleep(<seconds>) function, if that would be
better?
That's looking like the best approach, thanks.
Regards,
John
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|