[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Re: Comparing scratch variable with item-param
Tomy Wagner wrote:
> Thanks, but I tried that one already before and it didn't work either (I
> even retried it now to be sure ;)...
>
> What I tried now was:
>
> [if scratch mycode eq [item-param code]]
>
> And
>
> [if scratch mycode eq "[item-param code]"]
>
> None of both works ...
>
>
> Best regards,
>
> Tomy Wagner
> Visual Online S.A.
...
Insert a line like
Test 1: [item-param code]<BR>
Test 2: [scratch mycode]<BR>
to see, what you get. Then if [item-param code] looks like "12345", try
[if scratch mycode eq "12345"]
or
[if scratch mycode eq 12345]
or
[if scratch mycode =~ /12345/]
as a test and go on.
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de