[ic] Nest if error?

murahashi interchange-users@icdevgroup.org
Mon Aug 19 01:57:00 2002


Thank you Mr.Dan Browning. I'm sorry for long line and using 2byte
character.
Could you please read again?

I moved one of my sites from IC4.6.4 to IC4.8.6, perl5.6.0.

I have a problem on IC4.8.6.  The problem is an error at my pricing display
in results.html like below.
3,597Yen<---4,497Yen [/else][/if-item-data]

But, the same <<<code>>>  is working at the pricing display in flypage.html.
3,597Yen<---4,497Yen

Of course, both are working well in results.html and flypage.html on
IC4.6.4.

<<<code>>>
[if-item-data discountprice price]
    [discount [item-code]][item-data discountprice price][/discount]
    <font color="red" size="1"><b>[currency][item-data discountprice
price][/currency]</b></font>
    <font __FFACE__ size="1"><---<S>[price code="[item-code]"]</S></font>
[else]
    [if-item-data pricing price]
      <font __FFACE__ size="1">[price code="[item-code]"]</font>
    [else]
      Quote
    [/else]
    [/if-item-data]
[/else]
[/if-item-data]


Thank you.
----- Original Message -----
From: "Dan Browning" <dbml@kavod.com>
To: <interchange-users@icdevgroup.org>
Sent: Monday, August 19, 2002 2:22 PM
Subject: Re: [ic] Nest if error?


> At 02:16 PM 8/19/2002 +0900, you wrote:
> >I moved one of my sites from IC4.6.4 to IC4.8.6, perl5.6.0.
> >
> >I have a problem on IC4.8.6.  The problem is an error at my pricing
display
> >in results.html like below.
> >3,597Yen?4,497Yen [/else][/if-item-data]
> >
> >But, the same <<<code>>>  is working at the pricing display in
flypage.html.
> >3,597Yen?4,497Yen
> >
> >Of course, both are working well in results.html and flypage.html on
> >IC4.6.4.
> >
> ><<<code>>>
> >[if-item-data discountprice price][discount [item-code]][item-data
> >discountprice price][/discount]<font color="red"
> >size="1"><b>[currency][item-data discountprice
> >price][/currency]</b></font><font __FFACE__ size="1">?<S>[price
> >code="[item-code]"]</S></font>
> >[else][if-item-data pricing price]<font __FFACE__ size="1">[price
>
>code="[item-code]"]</font>[else]Quote[/else][/if-item-data][/else][/if-item
-
> >data]
> >
> >Am I wrong or change of IC tag syntax ?
> >Any suggestion would be help.
> >Thank you.
> >Murahashi
>
> Usually it doesn't take long to narrow down the problem on these, but I
> can't make myself do it unless the code were formatted a little more
> soothingly (i.e. indents, etc.).  :-)  [Gotta build myself an Interchange
> auto-code-formatter one of these days...]
>
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | Dan Browning, Kavod Technologies <db@kavod.com>
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Scrubbing floors and emptying bedpans has as much dignity as the
> Presidency.
>                  -- Richard Nixon
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>