Re: the Holy Grail of AppleScript lists
Re: the Holy Grail of AppleScript lists
- Subject: Re: the Holy Grail of AppleScript lists
- From: Bill Briggs <email@hidden>
- Date: Wed, 19 Mar 2003 16:24:26 -0400
At 1:56 PM -0500 19/03/03, Paul Skinner wrote:
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).
Okay. I didn't catch what you were exclaiming about. Off to instruct
a lab. No time to ponder it till later.
- web
_______________________________________________
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.