07.07.2012, 00:03
(
Последний раз редактировалось JoBullet; 07.07.2012 в 01:01.
)
To whom may it concern, note that these constructs are perfectly legal (though I do not know if it would be sane to use them, just general info, these are both deprecated and obsolete AFAIK):
Код:
if expression *then expression
if expression *then { expression }
// note that
// if ( expression ) *then expression
// is not valid
// --------------------------------
// you can also use *begin and *end instead of braces but then you must have *then preceeding them
if expression *then
*begin
expression
*end
if expression *then *begin expression *end
// note that this kind of construct also can't make use of parentheses
// this is invalid: if ( expression ) *then *begin expression *end

