I meant: ... } else { server.assignVariable('tmpFlag','0'); } ...
On Mon, Aug 15, 2011 at 11:45 AM, Anthony Humphreys <anth...@humphreys.org>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 lists...@witango.com with "unsubscribe witango-talk" in the body.