[ic] using calc tag with item options

Marc Brevoort marc.brevoort at armazemdedados.com
Tue Aug 5 17:40:55 EDT 2003


On Tue, 2003-08-05 at 15:33, Bill Jordan wrote:

> gold=[calc][value candy]*2.5[/calc], logo=[calc][value candy]*3[/calc]
> but that isn't working, it returns zero and also won't store through
> the UI. 

Hm,

'gold=' and 'logo=' are outside the calc tag, so this is not a variable
assignment but gold= and logo= are labels that show as text on the page.

The rest of the list correct me if I'm wrong but couldn't this be done
like so:

gold=[calc]return q([value candy])*2.5;[/calc]


Hope this helps.

grtz
MRJB
-- 
e-mail:	marc.brevoort at armazemdedados.com
web:	http://www.armazemdedados.com

Armazem de Dados, Informatica, Lda
Dep. Desenvolvimento
Tel. +351 21 910 83 10 / Fax. +351- 21 910 83 19



More information about the interchange-users mailing list