[REBOL] Re: This is a bug?
From: greggirwin:starband at: 14-Sep-2001 9:57
Hi Joel,
Interesting. The Core docs talk about first and second for an object
returning the words and values for that object, respectively, but I don't
think it mentions what third returns. It's a block of words and values, but
the words have trailing colons.
Q. What would be the best term for this kind of block?
Q. What would it be useful for? Generic cloning? anonymous prototypes?
Nothing?
orig: make object! [a: 3]
clone: make object! third orig
>> proto: [[a: 3][a: 4]]
== [[a: 3] [a: 4]]
>> bar: make object! first proto
>> bar/a
== 3
>> bar: make object! last proto
>> bar/a
== 4
--Gregg