W3C home > Mailing lists > Public > www-ql@w3.org > January to March 2004

RE: IfExpr has a mandatory else clause

From: Xavier Franc <xfranc@online.fr>
Date: Mon, 26 Jan 2004 10:41:13 +0100
Message-ID: <4014E0B9.8050903@online.fr>
To: www-ql@w3.org

>You could simply use parentheses to tie the 'else' to the outer 'if':
>if (expr) then (if (expr) A) else B

Absolutely. Introducing curly braces would be inconsistent
with the rest of the language: except fo r variable initializations
( which should be changed), curly braces are used for
constructs related to nodes.
Received on Monday, 26 January 2004 04:45:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:17:16 UTC