• 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: exit this repeat loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exit this repeat loop


  • Subject: Re: exit this repeat loop
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 13 Sep 2005 10:19:02 -0700

On Sep 12, 2005, at 1:59 PM, Matt Neuburg wrote:

I am very fond of throwing (and handling) an error as a way of jumping out
to any desired level. I regard this as elegant.

That would depend on how much you subscribe to the notion of "exceptions are only for exceptional conditions". In languages with richer flow control, using exceptions this way is generally considered an abuse. AppleScript being what it is, I'd consider it at least not unreasonable.



--Chris Nebel AppleScript and Automator Engineering

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: exit this repeat loop
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Re: exit this repeat loop (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Scripting Image Events - some kind of bug ?
  • Next by Date: Re: Scripting Image Events - some kind of bug ?
  • Previous by thread: Re: exit this repeat loop
  • Next by thread: Re: exit this repeat loop
  • Index(es):
    • Date
    • Thread