• 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 overflow problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 8 Apr 2016, at 9:39 AM, Shane Stanley <email@hidden> wrote:

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.

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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

References: 
 >Stack overflow problem (From: Brian Christmas <email@hidden>)
 >Re: Stack overflow problem (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Stack overflow problem
  • Next by Date: How can I set button text color, please
  • Previous by thread: Re: Stack overflow problem
  • Next by thread: How can I set button text color, please
  • Index(es):
    • Date
    • Thread