Key Value Pair Arrays
Key Value Pair Arrays
- Subject: Key Value Pair Arrays
- From: "Zavatone, Alex" <email@hidden>
- Date: Thu, 28 Jul 2011 08:17:52 -0700
- Acceptlanguage: en-US
- Thread-topic: Key Value Pair Arrays
I announced this before, but I'll do it again.
In other languages, I've used key/value pair arrays where you can specify the key as a dynamic string and pull the value from a large array. AppleScript doesn't let you do this. Noting this, I implemented functional Key/Value pair arrays as AppleScript code.
It's great being able to pull "myColor" from a list/array and also be able to walk the array and get the name of each key as a string and the appropriate values for each.
I've been using it for a few weeks now and it's fast and really useful.
If anyone wants it, please let me know and I'll send it along.
Cheers,
- Alex Zavatone
Oh and thanks to whomever just tried to unsubscribe me from the AS Users list. Real nice.
This email message and any attachments are for the sole use of the intended recipient(s) and may contain information that is proprietary to U.S. Foodservice, Inc and/or its subsidiaries or otherwise confidential or legally privileged. If you have received this message in error, please notify the sender by reply, and delete all copies of this message and any attachments. If you are the intended recipient you may use the information contained in this message and any files attached to this message only as authorized by U.S. Foodservice. Files attached to this message may only be transmitted using secure systems and appropriate means of encryption, and must be secured using the same level password and security protection with which the file was provided to you. Any unauthorized use, dissemination or disclosure of this message or it's attachments is strictly prohibited.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden