[Contents]
[Index]
[Help]
[Browse <]
[Browse >]
lister wait <handle> [quick]
This command causes the rexx script to wait for the specified lister to
finish whatever it is doing.
Because Opus 5 multitasks, all rexx commands (like lister read , or
lister new ) will return immediately, even if the lister has not
completed its task. This command will force the script to wait until the
lister goes non-busy.
If the lister is not in a busy state when this command is called, the
program will wait for up to two seconds for it to go busy, otherwise the
call is aborted.
handle is the handle of the lister in question.
If the quick keyword is specified, the command will return immediately
if the lister is not busy, instead of waiting for two seconds.
It would be silly to do lister set busy 1 and then lister wait.
For example,
+ lister read 121132636 'c:'
+ lister wait 121132636
See also:
lister query busy
lister set busy
Converted on 04 Nov 1998 with RexxDoesAmigaGuide2HTML 2.2 by Michael Ranner.