[REBOL] Re: Path evaluation
From: smith:munsterman at: 3-May-2003 22:11
See I was right, I was missing something! :=} I hope you got what you
needed from the folks on the list...
On Fri, 2 May 2003 21:20:22 -0700, Karl Robillard <[krobillard--san--rr--com]>
> Thank you Ladislav! That's what I was looking for.
> For those of you wondering why I didn't access obj/var directly, let me
> apologize for not making it clear that my code does indeed have indirect
> access to the path. I distilled the problem down to its essence so
> people on the list wouldn't have to spend 10 minutes studying my program.
> My code was written using view 1.2 but it broke on the latest core due to
> the less aggressive path evaluation. It took me a while to figure out
> what was going on because I was using two different methods to run my
> script and sometimes it would generate good data and sometimes it
> wouldn't! It turned out that my bash shell was running a different
> version of Rebol than the makefile I was also using.
> On Thursday 01 May 2003 11:54 pm, you wrote:
>> Hi Karl,
>> you wrote:
>> obj: context [ var: 22 ]
>> p: 'obj/var
>> > It seems something simple like 'do p' should work.
>> If you want to use the "basic" 2.5.5 method, you can do as follows:
>> do reduce [:p] ; == 22
>> this version will work even in old interpreter versions, because it uses
>> the get-word version of 'p.
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/