Hi!
I noticed this while debugging (from http://gambasdoc.org/help/lang/iif?v3);
"BE CAREFUL!
Contrary to IF, or the C/Perl ? operator, both TrueExpression and
FalseExpression are evaluated, whatever the value of Test is.
"

This is pretty deceptive!
Can this be re-implement as syntactic sugar (compiler would turn IIf to
normal If/Else/Then structure)?

Jussi
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to