Re: stack overflows
Re: stack overflows
- Subject: Re: stack overflows
- From: Paul Skinner <email@hidden>
- Date: Thu, 8 Nov 2001 21:02:58 -0500
On Thursday, November 8, 2001, at 07:25 PM, has wrote:
--> ralphs when trying to convert a >4000 item string to a >4000 item
list
==================================================================
AppleScript can't make a list longer than 4065 items.
set t to ""
repeat 5000 times
set t to t & "x"
end repeat
repeat
set ll to text returned of (display dialog "List Length" default
answer "4065")
set ll to ll as integer
try
set longList to items 1 thru ll of t
display dialog "I can make a list " & ll & " items long."
on error
display dialog "I can't make a list " & ll & " items long."
end try
end repeat
--
Paul Skinner