[REBOL] Re: Back to the Advanced Port stuff again
From: al:bri:xtra at: 11-Jan-2001 15:30
> I actually tried what your referring to and got the same result. There is
no way to find the word bound to the port yet its binding to the port does
in fact exist.
Simply iterate over the block and find the word that equals the port in
question.
foreach port waitports [
if port = ThePortInQuestion [print :port]
]
That should enable you to get the word in question.
Probably better is to discard this approach entirely and merely use the
following:
WaitPorts: reduce [
"Paul" open %test.txt
"User" open %blah.txt
"YourNickNamehere" open YourPorthere
]
I hope that helps!
Andrew Martin
ICQ: 26227169 http://members.nbci.com/AndrewMartin/