• 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: how to quit a script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to quit a script


  • Subject: Re: how to quit a script
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 21 Nov 2001 08:25:51 -0700

On 11/21/01 6:58 AM, Michael Turner <email@hidden> wrote:

>"return" can be used to interrupt a subroutine or the flow of the main
>script. If used without a parameter, it will return the value of the
>expression last evaluated. This is very useful for de-bugging.

However, using return within a sub routine will not quit the script; it
will return it to the calling routine. Error number -128 will always
quit the script.

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Prev by Date: Re: Strange freeze while scripting FMP and XPRESS
  • Next by Date: AppleScript Users Digest
  • Previous by thread: Re: how to quit a script
  • Next by thread: Re: how to quit a script
  • Index(es):
    • Date
    • Thread