Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with AS stack on Panther?



On Wed, 31 May 2006 14:09:51 -0500, Kevin Bradley <email@hidden>
said:
>I have an AS Studio app that plays the old "Tower of Hanoi" game.  I've
>got an automatic play function that solves the puzzle for you that
>worked fine on Jaguar.  I recently upgraded to Panther and now the game
>kludges to a stop around move 92 and then halts completely and crashes.
>
>Is there something significant that changed in how AS handles recursive
>requests from Jaguar to Panther?  I've not done a hand trace to figure
>out at what level of recursion this happens (and it's not constant, the
>move 92 example is only that: an example).  Should I report this as a
>bug?  Or am I pushing AS beyond its capabilities?

Basically the answer is that there are definite limits to recursive depth in
a running AppleScript script, but predicting exactly what they are is
impossible because this depends on what else the script does and on other
environmental factors. (For example, the very same script can recurse much
more deeply in Smile than in Script Editor.)

m.
-- 
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.