I meant:
...
} else {
server.assignVariable('tmpFlag','0');
}
...
On Mon, Aug 15, 2011 at 11:45 AM, Anthony Humphreys
<[email protected]>wrote:
> In a case like this, where @IF is not precise enough, I would bring that
> into JavaScript and let it do a string comparison, ie something *like *
> this:
>
> <@ASSIGN tmpVar <@ARG theValue>>
> <@SCRIPT>
> var strTheValue = server.GetVariable('tmpVar');
> if (strTheValue == '00') {
> server.assignVariable('tmpFlag','1');
> } else {
> server.assignVariable('tmpFlag','1');
> }
> </@SCRIPT>
> <@IF @@tmpFlag>....
>
>
>
----------------------------------------
To unsubscribe from this list, please send an email to [email protected]
with "unsubscribe witango-talk" in the body.