Re: the Holy Grail of AppleScript lists
Re: the Holy Grail of AppleScript lists
- Subject: Re: the Holy Grail of AppleScript lists
- From: Paul Skinner <email@hidden>
- Date: Wed, 19 Mar 2003 13:56:57 -0500
On Wednesday, March 19, 2003, at 01:41 PM, Bill Briggs wrote:
At 1:09 PM -0500 19/03/03, Paul Skinner wrote:
set l to {"3", "a", "C", "c", "B", 2, "A", 1}
repeat 10 times
set l to l & l
end repeat
-->list of 8291 items.
Nothing strange about that. You're taking an 8 member list and
doubling it 10 times. Each time through the loop the "l" is twice as
long as it was before. Do the math. It's (2^10)*8
- web
That's not the strange part, What it strange,is that the 'text items
of' part returns a list that's greater (appx. twice) the maximum limit
that it normally can return. If you coerce the outout of the last
script to text and then try to coerce it back to alist you'll see that
AS doesn't allow it. ( Stack Overflow).
Paul Skinner
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.