[ic] Redefine variable

Ed LaFrance interchange-users@interchange.redhat.com
Fri Sep 7 15:17:00 2001


At 01:40 PM 09/07/2001 -0500, you wrote:
>Is there a way I can redefine a variable within IC? I would like to redefine
>[shipping] from its default to :
>         [set total_shipping]0[/set]
>         [item-list]
>                         [seti total_shipping][calc]
>                 [scratch total_shipping] + ([item-field shipping] *
>[item-quantity])
>                         [/calc][/seti]
>         [/item-list]
>         [set shipping][scratch total_shipping][/set]
>
>Where do I find where [shipping] is defined or is this not possible?
>
>Any help is appreciated
>Chad

In the 4.7 / 4.8 branches there is an [assign] tag which allows you to do 
something like this, check it out:

http://ic.redhat.com/cgi-bin/ic/dev/ictags_8.html

- Ed L.



===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================