02-16-2011 02:41 AM
Hello Norman,
In general Brard's script is OK. It is necessary to declare the variables which are used in the Calculation command as global. The command works fine if you integrate the variable zahl3 in the command string.
Dim zahl1, zahl2 GlobalDim "zahl3" GlobalDim "zahl4" zahl1 = 4.5 zahl2 = 3.7 zahl3 = zahl1+zahl2 zahl4 = zahl3*zahl1 Call Calculate("Ch(""[2]/Test"")=zahl3",NULL,NULL,"")
You can easily get the syntax if you switch on the record made in SCRIPT and then run the command in the formula calculater.
Greetings
Walter
02-16-2011 02:49 AM
ah thanks. i thought i hade to integrate the variable with "& zahl4 &"
thanks for your help.