lua-users home
lua-l archive

Re: Lexical environments

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, 3 Feb 2010, Javier Guerra wrote:
>
> i think "then" is there so you don't need compulsory parenthesis
> around the condition, like on c-wannabe languages.
There's no need for brackets to disambiguate a statement that ends with an
expression from the subsequent statement, so there wouldn't be any need
for them if "then" were optional.
Tony.
-- 
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.

AltStyle によって変換されたページ (->オリジナル) /