2016-02-01 11:28 GMT+01:00 Sven Barth <pascaldra...@googlemail.com>: > I have to admit though that I forgot about the potential problems due to > refactoring. I'll change the name to avoid this pitfall, though I've yet to > decide which one. >
My proposition is: function &if(Condition: Boolean; ThenExpr, ElseExpr: type): type; & is used rarely (and it is legal ident part), collision with existing code base is minimal. Looks almost like regular Pascal syntax ;). -- Best regards, Maciej Izak
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal