[REBOL] A couple of things regarding ports Re:(6)
From: multimalte:theinbox at: 18-Sep-2000 8:25
On Mon, 18 Sep 2000 21:41:18 +1200 [Al--Bri--xtra--co--nz] wrote:
>> hmm, however, if I for example do like:
>> dispatch [
>> port1 [print first port1]
>> port2 [print first port2]
>> it waits for the first port before printing the input on the second. both
>the ports are open/direct/lines
>Try something like:
> dispatch [port1 [print "Port1"] port2 [print "Port2"]]
> as your:
> print first port1
> may be waiting for input on 'port1.
uhm, one more thing, isn't that what it should do..?
wait for data from either of the ports, and when it reaches
one of them i want to, let's say, print it out?..
how should I work around it then?.. :)
>That way, you can confirm that dispatch is working correctly.
Get your [firstname--lastname] email for FREE at http://NamePlanet.com/?su