[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] [if]???
--- Peter Jakl <peter@jakl.net> wrote:
> I'm not one of the "gurus" that should be handling
> this, but I'm always
> working around code that I think should work. I bet
> the following will work:
>
> [if type=explicit
> condition="$Scratch->{s_option_code} eq
> $Scratch->{s_loop_code}"]
> ....
>
> You could save one [seti] by doing:
>
> [if type=explicit condition="$CGI->{option_code} eq
> $Scratch->{s_loop_code}"]
>
> If this doesn't work then there is no "loop-code"
> that is matching an
> "option-code" or maybe it should be a numeric
> comparison (??) in which case
> replace "eq" with "==".
>
> Peter
Hi Peter,
Bravo! you got it. Thanks a million!!! really appreciated your help, and other who try to help.
if probably take me another 4 days to learn [for loop], if any. :p
john