Duplicating ports
[1/2] from: Rebolinth::nodep::dds::nl at: 12-Aug-2003 19:27
Hiya All,
How to duplicate a port, So that ->
the Duplicated port gets indipendent from the Original?
Example:
p1: open port1
p2: copy reduce [ p1 ]
>> equal? p1 p2
== false (Mmm odd but oke..)
anyway...
close p1 will close also p2, but i want p2 still the have its original state because
p2 is stored independent in my application.
Should i 'mold them when i store the p2?
(R)egards,
Norman.
--
Conversation/lunch: "How do you Eat your Rebol in the Morning?"
[2/2] from: Rebolinth::nodep::dds::nl at: 12-Aug-2003 19:51
Correction: Duplicating ports
equal? p1 pick p2 1
and not
equal? p1 p2
:-)
Norman.
->
->
-> Hiya All,
->
-> How to duplicate a port, So that ->
-> the Duplicated port gets indipendent from the Original?
->
-> Example:
->
-> p1: open port1
-> p2: copy reduce [ p1 ]
->
-> >> equal? p1 p2
-> == false (Mmm odd but oke..)
->
-> anyway...
->
-> close p1 will close also p2, but i want p2 still the have its original state
-> because
-> p2 is stored independent in my application.
->
-> Should i 'mold them when i store the p2?
->
-> (R)egards,
-> Norman.
->
->
->
->
->
->
->
-> --
-> Conversation/lunch: "How do you Eat your Rebol in the Morning?"
->
->
->
->
->
->
-> --
-> To unsubscribe from this list, just send an email to
-> [rebol-request--rebol--com] with unsubscribe as the subject.
->
->