• 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
limit on length of lists returned (was Re: Sifting a list sans loop)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

limit on length of lists returned (was Re: Sifting a list sans loop)


  • Subject: limit on length of lists returned (was Re: Sifting a list sans loop)
  • From: Helmut Fuchs <email@hidden>
  • Date: Tue, 29 Jan 2002 10:02:20 +0100

At 2:30 Uhr -0600 29.01.2002, ehsan saffari wrote:
got it's text
set myTxt to myData's Text --> 5313 items

Actually you didn't get a list here, you got a string!

Try:
set a to "0123456789"
repeat with i from 1 to 10
set a to a & a
end repeat
characters of a
--
--> error "Stack overflow..."

But this works:
characters of (text 1 thru 4072 of a)

So the actual limit (at least for this case) seems to lie with 4072 items.

HTH,

Helmut
--


  • Follow-Ups:
    • Re: limit on length of lists returned (was Re: Sifting a list sans loop)
      • From: Paul Skinner <email@hidden>
  • Prev by Date: Re: Sifting a list sans loop
  • Next by Date: Re: Sifting a list sans loop
  • Previous by thread: Re: AS to create a new AppleMail account
  • Next by thread: Re: limit on length of lists returned (was Re: Sifting a list sans loop)
  • Index(es):
    • Date
    • Thread