• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: the Holy Grail of AppleScript lists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 15:42:14 -0400

At 8:11 PM +0100 19/03/03, Helmut Fuchs wrote:
At 14:41 Uhr -0400 19.03.2003, 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
Well, 8291 doesn't look like 8192 to me, but I credit that to a typo.

But I suppose Paul meant that he found a way to overcome some strange implementation limits, when dealing with lists: 8192 items is larger than this certain limit. Am I correct?

If that's the case, then I completely misread his post.
This works, so I don't think it's a number limitation on lists he meant. Shrug.

set x to "a"
set y to {"B"}
repeat 10000 times
copy x to end of y
end repeat
y -->too big to display, but no error, no apparent problem

- 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.

  • Follow-Ups:
    • Re: the Holy Grail of AppleScript lists
      • From: Paul Skinner <email@hidden>
References: 
 >the Holy Grail of AppleScript lists (From: Paul Skinner <email@hidden>)
 >Re: the Holy Grail of AppleScript lists (From: Bill Briggs <email@hidden>)
 >Re: the Holy Grail of AppleScript lists (From: Helmut Fuchs <email@hidden>)

  • Prev by Date: "tell" is opening *classic* QuickTime Player, not OSX version!
  • Next by Date: RE: Script Editor Faster than App?
  • Previous by thread: Re: the Holy Grail of AppleScript lists
  • Next by thread: Re: the Holy Grail of AppleScript lists
  • Index(es):
    • Date
    • Thread