Hi, what is difference in produced assembler between ifthen(); and classic if - then - else?
Thanks, V. ______________________________________________________________
Od: Sven Barth <pascaldra...@googlemail.com> Komu: "FPC-Pascal users discussions" <fpc-pascal@lists.freepascal.org> Datum: 31.01.2016 15:43 Předmět: [fpc-pascal] New feature: IfThen() intrinsic
Hello together! I've finally come around to add a feature that many people have asked for throughout the years: an inline if that works like the if-statement in that it only evaluates that expression that is indeed returned. After the discussion last year about the inline-if I've decided to add it as an intrinsic function instead of an extension of the language. Like all intrinsics it's part of the System unit and "declared" like this: Regards, Sven _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal <http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal>
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal