On 31.01.2016 16:09, silvioprog wrote: > Wooow! I did a request about it many years ago, however it was rejected > because the limitation in the generic feature at that time.
This implementation has nothing to do with generics. It's a compiler magic function, just like Writeln() and thus it can bend the usual rules ;) > So, I posted a bug related to it yesterday: > > http://bugs.freepascal.org/view.php?id=29546 I've seen your bug this night and that was the cause for finally implementing this. > Can I use it after this new feature? (I'm upgrading my FPC sources now :-) ) I've not yet looked at what the problem regarding your code is. However you can simply remove your TUtils.Iif() and use IfThen() instead. > Buddy, thanks a lot for that feature, it is very useful! o/ That's what I have hoped for. :) Regards, Sven _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal