Re: @Bill: 'alius' question

"Ger Hobbelt" <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
On Thu, May 22, 2008 at 4:12 PM, Bill Yerazunis <[email protected]> wrote:
> How about (for the QUICKREF):
>
>   alius -       if the last bracket-group succeeded,
>                 ALIUS skips to the "}" end of
>                 THE SMALLEST {} block ENCLOSING THE ALIUS <<<--- NEW!!
>                 (a skip, not a FAIL);
>                 if the prior group FAILed,
>                 ALIUS does nothing.  Thus,
>                 ALIUS is both an ELSE clause
>                 and a CASE statement.

Crystal.

Thought as much, but I thought I'd better verify as a few spots had
stuff like this:

{
       {
               a
       }
       alius
       b
       c
}
d

and I have too much classic programming languages circulating in my blood.

The GerH *preliminary* windows ports of the mail*.crm scripts have
been fixed accordingly.


> [[ reformatting to make it easier for those of us with reading glasses ]]

Sorry. At -11 dpt myself, I am used to reading small print all the
time. I get complaints at times. :-)


> If codeblock "a" exits with a FAILure (either a CLASSIFY, an EVAL, or
> an explicit FAIL) then the ALIUS statement should allow codeblock "b"
> and then codeblock "c" to execute.
[...]
>   skip to c or d?
>
> d.
>
> Does the above change to the QUICKREF make it clearer?

Yes. Changed in QUICKREF.txt for the next GerH build.

Thanks, Bill.


-- 
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web: http://www.hobbelt.com/
 http://www.hebbut.net/
mail: [email protected]
mobile: +31-6-11 120 978
--------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.