Re: definition list recommendations?
Re: definition list recommendations?
- Subject: Re: definition list recommendations?
- From: Emmanuel <email@hidden>
- Date: Wed, 26 Jan 2005 13:50:31 +0100
At 9:03 PM -0800 1/25/05, Christopher Nebel wrote:
Alternatively, why make them all variables when you can use a data
structure? If AppleScript had associative arrays, this would be
really easy,
Since the release by Satimage-software of XMLLib.osax (that we offer
for free), you can consider that AppleScript has associative arrays
(aka dictionaries, aka lookup tables etc.)
Indeed, XMLLib.osax interfaces "p-lists" in AppleScript, and p-lists
is Apple's very effective structure for associative arrays.
For instance, once you will have stored your list of properties as a
Property list (p-list), you can directly use the "r5" string as the
key, which might simplify much your code.
If you think you may be interested I suggest that you pay a visit to:
<http://www.satimage.fr/software/en/plist_suite.html>
Emmanuel
From Satimage-software, the cool authors of XMLLib.osax.
_______________________________________________
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