Forum
Calc Builder Support
Calc Builder supportForums
No se permite escribir sin estar logado. Por favor, login
Re: incorrect code 27.04.2012 09:47
Hello,
Your code:
$ac=$p1*$.1;
$ai=$num1*$ac;
$sum=$a1*$.8;
We don´t know exactly what you want but maybe $.1 could throws a syntax error. If you want to multiply just :
$ac=$p1*.1;
or
$ac=$p1*0.1;
$ is used only for variables not if you want to use a number in this case.
Hope this helps. Regards,
Moonsoft Team
Moonsoft Team
www.moonsoft.es
Your code:
$ac=$p1*$.1;
$ai=$num1*$ac;
$sum=$a1*$.8;
We don´t know exactly what you want but maybe $.1 could throws a syntax error. If you want to multiply just :
$ac=$p1*.1;
or
$ac=$p1*0.1;
$ is used only for variables not if you want to use a number in this case.
Hope this helps. Regards,
Moonsoft Team
Moonsoft Team
www.moonsoft.es
Re: incorrect code 27.04.2012 17:09
Hello,
That´s ok. You don´t need to create a field with variable ac to use it in Code. In fact, when you write $ac=$a*0.1 you are creating a variable $ac and you can use it in exit layout as ##ac## to see it in result.
Regards,
Moonsoft Team
Moonsoft Team
www.moonsoft.es
That´s ok. You don´t need to create a field with variable ac to use it in Code. In fact, when you write $ac=$a*0.1 you are creating a variable $ac and you can use it in exit layout as ##ac## to see it in result.
Regards,
Moonsoft Team
Moonsoft Team
www.moonsoft.es