[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] event.put(\parent...)
<x-tad-smaller>e = ().put(</x-tad-smaller><x-tad-smaller>\parent</x-tad-smaller><x-tad-smaller>, (a:0));
( ) </x-tad-smaller><x-tad-smaller>// no \parent key</x-tad-smaller><x-tad-smaller>
e.dump;</x-tad-smaller>
<x-tad-smaller>Instance of Event { (07F28B00, gc=58, fmt=00, flg=00, set=03)
instance variables [5]
array : instance of Array (07EE40A0, size=4, set=2)
size : Integer 0
proto : nil
</x-tad-smaller><x-tad-smaller>// parent is now in the parent instance variable</x-tad-smaller><x-tad-smaller>
parent : instance of Event (07F28440, size=5, set=3)
know : true
}
</x-tad-smaller>
I've been exploiting this behavior for months (it's quite useful), but I don't see that it's documented anywhere.
???
hjh
: H. James Harkins
: jamshark70@xxxxxxxxxxxxxxxxx
: http://www.dewdrop-world.net
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman