Re: Dynamic Records?? (or other alternatives)
Re: Dynamic Records?? (or other alternatives)
- Subject: Re: Dynamic Records?? (or other alternatives)
- From: Arthur J Knapp <email@hidden>
- Date: Mon, 03 Dec 2001 12:55:45 -0500
>
Date: Sat, 1 Dec 2001 13:54:24 +0000
>
From: has <email@hidden>
>
Subject: Re: Dynamic Records?? (or other alternatives)
>
Arthur J Knapp wrote:
>
> Another method that I once posted is here:
>
> <http://archives:email@hidden/mhonarc/applescript-users/msg14908
>
> .html>
>
And here it's without the deliberate mistake <g> (eh, Arthur?;):
>
script LabeledStrings
Uh, deliberate mistake, right. ;-)
Thank you for providing the alternate version. :)
>
Very nice too, imho, as long as you're cool with the "strings only"
>
limitation and case-sensitive labels (which for lots of tasks won't be a
>
problem).
In fact, one has a tendency to design tasks around the best methods
available to them.
>
Should be real zippy too, since it's all TID-based. The only real speed hit
>
I think you might see will be as you add more and more new data. Every time
>
something is added to sData, the whole thing needs copied in memory (and
>
the bigger the string, the longer it takes to copy).
Right. Actually, there is another version that uses less memory, by
using alternating delimiter characters. As soon as I find where I put
it, I'll post it.
>
Oh, and here's a thought: with a little extra work you could enable it to
>
do "reverse" lookups as well, allowing you get a list of all labels whose
>
values match a given string. Might be handy...
The "alternating delimiter" system would make this very easy indeed.
>
> P.S. I'm still just a scripter... ;-)
>
>
Sure, and Elvis was just a singer... ;)
I'll take your word for it... ;-)
{ Arthur J. Knapp, of <
http://www.STELLARViSIONs.com>
<
mailto:email@hidden>
try
<
http://members.bellatlantic.net/~bswaldie/>
on error number -128
end try
}