Re: any way to tell if a script has a 'return' statement?
Re: any way to tell if a script has a 'return' statement?
- Subject: Re: any way to tell if a script has a 'return' statement?
- From: Emmanuel <email@hidden>
- Date: Thu, 25 Oct 2001 23:56:11 +0200
At 20:16 +0200 25/10/01, Marc K. Myers wrote:
>
The return value wouldn't be undefined. If there is no explicit
>
"return" statement the return value would be the result of the last
>
command executed.
... including if the said last command does not return any result.
For instance, try to "return beep" on OS 10.0 (don't know for 10.1). (This
worked in Classic).
Emmanuel