On 2016-02-02 09:07, Michael Van Canneyt wrote:
> The "if then" construct is really confusing.
> "if then" is a statement, not an expression.

Exactly! I'm glad somebody noticed that too.

I'm fine with the iif() syntax. It is used in a few languages for many
years, so is a common and known name.

Then again, I really don't know what the issue is here, because it is so
simple to implement your own in Object Pascal. For example, the tiOPF's
tiUtils.pas unit has had it for over 15 years now.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to