Re: Records
Re: Records
- Subject: Re: Records
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 3 Nov 2005 15:51:17 -0500
On 11/3/05,
Emmanuel <
email@hidden> wrote:
Looks like a job for good ol' Satimage.osax' "suppress item" command:
set r to {a:"somevalue", foo:"bar"}
suppress item "a" from r
--> {foo:"bar"}
Caveat: "suppress item" does not suppress the item from the original
record! "suppress item" returns the changed record but leaves the
original record unchanged.
So what the OP wants is really
set n to (suppress item "a" from r)
Very nice. I even have Satimage.osax installed already, and
didn't even know it (insert standard rant about stealthy nature of
OSAXes here...)
--
Mark J. Reed <
email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden