[ic] if-comparison within the tree-tag

Rene Hertell interchange-users@icdevgroup.org
Sat Nov 30 10:05:01 2002


Hi list,

I can't somehow get my if-comparisons to work..
I have a scratch value that gets a numeric value:

    [set temp][calc][item-param mv_increment]+1[/calc][/set]


I want to compare it with [item-param mv_increment] (inside a tree-tag):
These is just two of may ways I tried:

[if scratch temp == [item-param mv_increment]]
    foo
[/if]

[if-item-param mv_increment eq [scratch temp]]
    foo
[/if-item-param]

and so on..

I could do it with Perl, but I don't know how to catch the [item-param
mv_increment] inside the [perl ]tags :-(


Any small hint would save my day :)


René