02-25-2009 02:27 PM
I have created a parameter using the Globaldim statement in a script file. when I reference this parameter in any other script file during the current DIAdem session the value is passed without any issue. Call the variable parmxyz where I assign it a value of 25.3
The help section under Globaldim mentions that global variables can be referenced in all panels, scripts, and dialogue boxes. When I try to insert a text box on a report page using the @@parmxyz@@ it returns NOVALUE where I expect to see 25.3 (for example).
When I substitute @@CurrDate@@ I do get the date, so I know the text box is valid. What am I doing wrong?
Steve M
02-25-2009 04:12 PM
Hello Steve!
It should work the way you did it. But their are some circumstances wich might prevent it:
One Test you can make is to put in '@@TypeName(paramxy)@@' as the expression to see the variable type. You can also try a realy unique variable name. The last option is to use ItemInfoGet to get detailed infos about your variable.
Matthias
Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |