Re: Maxing out a list
Re: Maxing out a list
- Subject: Re: Maxing out a list
- From: Cornwall <email@hidden>
- Date: Mon, 8 Apr 2002 17:28:10 -0700
At 11:03 AM -0400 4/8/02, Michael Sullivan wrote:
>
christian vick <email@hidden> writes:
>
> Doug Adams writes:
>
>
> > What is the maximum number of items that can be stored in a list before a
>
> > -20013 error is invoked? Is it based on the number of items or on total
>
> > characters of all the items?
>
>
> About 4300 items is the max, no matter what an actual list item represents
>
> (so no total character length limit).
>
>
This gets discussed here every so often, and this statement is not quite
>
correct.
>
>
That's the max that can be packed into a list (or returned as a list) in
>
one operation, but one can build lists that are far larger than that.
I just used entire contents to create a list with 14692 items - all
in one fell swoop (i think).
tell app "Finder"
set aList to every file of the entire contents of aFolder
end tell
OSX 10.1.3, AS 1.8.2b3
Corny
_______________________________________________
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.