Re: how to quit a script
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. |
----------------------------------------------------------------------