Re: Stack overflow problem
Re: Stack overflow problem
- Subject: Re: Stack overflow problem
- From: Brian Christmas <email@hidden>
- Date: Fri, 08 Apr 2016 12:40:32 +1000
Shane, thank you, you’ve summed it up nicely.
When I didn't get an answer, I sort of guessed the problem, and re-wrote the offending loop calling handler to use a ‘return', which now works. I had to also re-write the looping handler, because on a return, it was executing some code that it shouldn’t have. Some if/then/else statements fixed it.
Regards
Santa
On 6 Apr 2016, at 4:46 PM, Brian Christmas < email@hidden> wrote:
There’s nothing in Shane’s ‘Explored’ about this.
That's partly because it's not a coding problem, it's a logic program. You have some sort of loop that triggers another loop that triggers the first loop. It's a recipe for disaster.
Stop looking at the code and trying to fiddle with it, and instead get a piece of paper and work out the logic. Then go back to the code.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden