• 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: Recursion and Stack overflow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recursion and Stack overflow


  • Subject: Re: Recursion and Stack overflow
  • From: "Mark J. Reed" <email@hidden>
  • Date: Fri, 4 Dec 2009 12:35:27 -0500

On Fri, Dec 4, 2009 at 11:22 AM, Paul Skinner <email@hidden> wrote:
> In Script Debugger / 10.5.1
>
> on addone(x)
>        try
>                return 1 + addone(x)
>        end try
>        return x
> end addone
>
> addone(0)
> -->473

That's also what I get on my system if I use osascript as root.  But
if I run osascript without privileges I only get 32.  A ulimit
difference, maybe?   I'll try it in Script Editor when I'm back home.
--
Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Recursion and Stack overflow (From: Justin Laden <email@hidden>)
 >Re: Recursion and Stack overflow (From: Axel Luttgens <email@hidden>)
 >Re: Recursion and Stack overflow (From: Emmanuel LEVY <email@hidden>)
 >Re: Recursion and Stack overflow (From: Paul Skinner <email@hidden>)

  • Prev by Date: Re: Recursion and Stack overflow
  • Next by Date: Re: [ann] py-appscript 0.21.0
  • Previous by thread: Re: Recursion and Stack overflow
  • Next by thread: Re: Recursion and Stack overflow
  • Index(es):
    • Date
    • Thread