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

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

  • Prev by Date: RE: Script Editor Faster than App?
  • Next by Date: Re: the Holy Grail of AppleScript lists
  • Previous by thread: Re: the Holy Grail of AppleScript lists
  • Next by thread: Re: the Holy Grail of AppleScript lists
  • Index(es):
    • Date
    • Thread