Re: Accessing a Record by variable
Re: Accessing a Record by variable
- Subject: Re: Accessing a Record by variable
- From: Paul Skinner <email@hidden>
- Date: Tue, 13 Feb 2001 13:52:37 -0500
>
email@hidden wrote:
>
Bill,
>
>
I rather think you've missed Douglas' point. I think what he's after is the
>
equivalent of a hash table. Your solution hard codes Feb into the script, and
>
Douglas wants to look up any arbitrary month's value depending on program
>
input, as in
>
>
--- pseudocode
Snipped.
>
-- end pseudocode
>
>
I don't think this feature exists in Applescript. Using a loop is slow, and
>
using the TIDs on massive quantities of information invites memory issues.
Really? I haven't seen any issues arise using tids on extremely large lists,
text ect. Have you got any examples?
>
IMHO, hash table capabilities in Applescript should be a very high priority,
>
and the absence is one big reason I am learning Perl.
I couldn't agree more!
>
>
Jeff Baumann
>
email@hidden
>
www.linkedresources.com
--
Paul Skinner