On Tuesday 02 February 2016 10:41:39 Serguei TARASSOV wrote: > On 02/02/2016 10:29, [email protected] wrote: > > 2016-02-01 10:59 GMT+01:00 Michael Schnell<[email protected]>: > > Same here. I see no reason to differ from it. Introducing new > > incompatibility is bad idea. For me is good to have booth (Oxygene > > compatible): > > > > x := iif (a < 3, 1, 2); > > V := If a < 3 then 1 else 2; > > > > sometimes is better to use first option and sometimes is better to use > > second option. Both Oxygen compatible and very "pascalish". > > No, the second is always better because safer. > And it could be extended to " V:= case i1 of 1: 'one'; 2: 'two'; else 'none'; end; " In my opinion there should be as less intrinsics as possible. In MSElang I even try to get rid of "writeln()" as compiler intrinsic.
Martin _______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
