Hi Elan, 

my point I wanted to state was: if both 'probe s are the same
you can't use the probe to show that it's not duplicated, am I
right?


regards

Ingo

Those were the words of [EMAIL PROTECTED]:
> Hi Ingo,
> 
> yes, you do get the same probe because the use context is hidden both in
> the ancestor as well as the descendant. However, it remains available, as
> you can easily determine by evaluating 
> 
> ancestor/do-something
> 
> which successfully evaluates both func-1 and func-2 in both ancestor and
> descendant objects.
> 
> Elan
<...> 
> >> descendant: make ancestor []
> >> 
> >> >> descendant/do-something
> >> func-1: tons of code here
> >> func-2 tons of code here
> >> >> probe descendant
> >> 
> >> make object! [
> >>   do-something: func ["this function will be inherited"][
> >>     func-1
> >>     func-2
> >>   ]
> >> ]
<...>

--  _     .                                _
ingo@)|_ /|  _| _  <We ARE all ONE   www._|_o _   _ ._ _  
www./_|_) |o(_|(/_  We ARE all FREE> ingo@| |(_|o(_)| (_| 
http://www.2b1.de/Rebol/                     ._|      ._|

Reply via email to