[fpc-pascal] New feature: IfThen() intrinsic

LacaK lacak at zoznam.sk
Tue Feb 2 08:10:35 CET 2016


> Switch, Select, Which
> are all good except that they are very common English words. They 
> might already be used by users in existing function names in their code.
>
> I prefer
>
> V := If Condition then ThenExpr else ElseExpr;
+1
(for me is "if ... then ... else" also good understandable and looks nice;
  plus if it has precendence in other language (Oxygene) it is advantage 
also)

-Laco.




More information about the fpc-pascal mailing list