>I have found that a macro substitution in a WWC template doesn't work.
>
>I have a condition like this:
>
>
>< %=IIF(&gcCondition,...)>
>
>
>How can I achieve that?
First off what's the value of gcCondition?
Second, remember the whole thing is a string, so you can string concat everything...
Macro evals don't work because the expression that you have there is already being evaluated. Macros don't work in Evaluates()... Actually it might but it will only do string replacement in which case an eval will do and that would work.
My guess gcCondition is invalid and not evaling to the right value. Two levels of indirection is really not a good idea - there's almost always a better way to handle this like pre-evaluating that expression in your code...