limit on length of lists returned (was Re: Sifting a list sans loop)
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
--