Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: Expression Evaluator Syntax?
Reply to topic
Author Message
Robert



Joined: Oct 9, 2006
Posts: 26

PostPosted: Oct 13, 2006 5:37 AM    Post subject: Expression Evaluator Syntax?

hello,

does the expression evaluator accept "if .. then .. else - expressions". If so, can you give me a simple example for its correct syntax?

thanks in advance

robert
Jarek Foltynski



Joined: Jan 13, 2005
Posts: 62

PostPosted: Oct 13, 2006 4:30 PM    Post subject:

Hi,

yes it does but in another form of expression:

so the: if A then B else C
can be replaced by: A ? B : C

which will do exactly the same (unless you want more then one command in B or C. In such case the Evaluator can be used).

Regards
Jarek
Reply to topic