[REBOL] Re: waiting on ports
From: g:santilli:tiscalinet:it at: 25-Aug-2003 17:20
Hi Matt,
On Monday, August 25, 2003, 4:00:02 PM, you wrote:
MM> I have a series of ports, c. I want to wait on all of them, but I also want
MM> to specify the timeout parameter, 5 seconds. How can I do this? ready:
MM> wait [c 5] does not work.
One way is:
wait compose [(c) 5]
or:
wait append copy c 5
You could also add the timeout to your list of ports, like:
append c 5
; ...
wait c
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/