@Bill: 'alius' question
"Ger Hobbelt" <[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
QUICKREF says:
alius - if the last bracket-group succeeded, ALIUS
skips to end of {} block (a skip, not a
FAIL); if the prior group FAILed,
ALIUS does nothing. Thus, ALIUS is both
an ELSE clause and a CASE statement.
Given code like this:
{
{
a
}
alius
{
b
}
c
}
d
the question is:
given a successful 'a', alius will skip. Should it skip to 'c' or 'd'?
To me, the definition in QUICKREF is a little ambiguous. Some existing
code (mail*.crm) suggests 'skip to c' i.e. 'skip the subsequent
curly-braces block', but since I have been fiddling with the compiler
to make it validate scripts in more detail like a good compiler
should, I want to be absolutely sure what the original intent was:
skip to c or d?
--
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/