[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] event.put(\parent...)




It was probably only documented in a note to the mailing list, if that.

e = (parent: (a: 123));

( )

e.a

123


On Dec 27, 2005, at 7:07 PM, James Harkins wrote:

e = ().put(\parent, (a:0));
(  )  // no \parent key

e.dump;
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
		// parent is now in the parent instance variable
    parent : instance of Event (07F28440, size=5, set=3)
    know : true
}

I've been exploiting this behavior for months (it's quite useful), but I don't see that it's documented anywhere.

???

hjh