[ic] ifs with scratch variables

Bob Puff bob at nleaudio.com
Sun Nov 19 14:52:37 EST 2006

Hi Group,

I was recently messing around with the shipmode page from a recent install. 
Using a IC 5.2 engine, I tried:

[tmp bobshp][shipping mode="[loop-code]"][/tmp]

..within the listing of shipping modes.  It does indeed "take", as I can say
something like:

Cost: [scratch bobshp]

and it prints out nicely.  However, I can't seem to get this to work:

[if scratch bobshp eq "$0.01"] ...

I've tried a few different things, like:
[if type=explicit compare='[scratch bobshp] eq "$0.01"']

...but can't seem to get it to work.  And this is when it is displaying
"$0.01" in the simple printing of [scratch bobshp].  What am I doing wrong?


More information about the interchange-users mailing list