Andrew,

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.  Any REBOL staffers want a crack at this one.

Paul Tretter


----- Original Message -----
From: "Andrew Martin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 10, 2001 12:31 PM
Subject: [REBOL] Re: Back to the Advanced Port stuff again


> > Not a problem since I know to look for "paul".  But what if I didnt know
> that Paul was assigned to name and that this was done dynamically during
> program execution.  How what I probe the port to get this information.
>
> The general solution is to put your words in a special block just for this
> purpose. Something like:
>
> >> name: "Paul"
> == "Paul"
> >> name: to word! name
> == Paul
> >> WaitPorts: make block! 0
> == []
> >> myport: open %test.txt
> >> set name myport
>
> Caution: The above line really needs to be done in it's own context, not
in
> Rebol's context. Consider:
>         Name: "print"
>         ...
>     But I have to go to work now. Any one?
>
> >> probe paul
>
> make object! [
>     scheme: 'file
>     host: none
> (escape)
> >> append waitports 'Paul
> == [Paul]
> >> aport: first waitports
> == Paul
> >> probe get aport
>
> make object! [
>     scheme: 'file
> (escape)
> >>
>
> I hope that helps!
>
> Andrew Martin
> ICQ: 26227169 http://members.nbci.com/AndrewMartin/
> -><-
>
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to