• 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: stack overflows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: stack overflows
      • From: Emmanuel <email@hidden>
References: 
 >stack overflows (From: has <email@hidden>)

  • Prev by Date: Re: Applescript to run at shutdown...
  • Next by Date: Re: Applescript to run at shutdown...
  • Previous by thread: stack overflows
  • Next by thread: Re: stack overflows
  • Index(es):
    • Date
    • Thread