Hi, I'm trying to implement some sort of basic scripting with the use of Eval() inside my project.
It works for a lot of math, formatting and comparison commands and works quite nicely. But I need the IF THEN to work too. IIf ( Test AS Boolean , TrueExpression , FalseExpression , FalseExpression ) or If ( Test AS Boolean , TrueExpression , FalseExpression ) Works, but evaluates both TrueExpression and FalseExpression regardless of test (as explained in docs) Is there a way to get IF Test THEN TrueExpression to work inside Eval() ? Regards, Ron_2nd. ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user