Re: Noob question -- On error, exit function and terminate script
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Noob question -- On error, exit function and terminate script
- From: Lorenzo Donati <lorenzodonatibz@...>
- Date: 2011年6月25日 19:05:18 +0200
On 25/06/2011 18.58, Xavier Wang wrote:
[snip]
Some Idea:
may be the last one statement of a block maybe a expression, so we can
write:
do condition or error( msg ) end
IIRC one of the objection of this approach (or similar ones proposed for
"expression as statements") is that they confuse the parser, but
I'm not an expert, so I cannot comment on this.
this may better.
I like the idea of lazy evaluation, also.
- References:
- Noob question -- On error, exit function and terminate script, marbux
- Re: Noob question -- On error, exit function and terminate script, Rebel Neurofog
- Re: Noob question -- On error, exit function and terminate script, Xavier Wang
- Re: Noob question -- On error, exit function and terminate script, Timothy Hunter
- Re: Noob question -- On error, exit function and terminate script, Xavier Wang
- Re: Noob question -- On error, exit function and terminate script, Lorenzo Donati
- Re: Noob question -- On error, exit function and terminate script, Xavier Wang