DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Use calculator to get current variable values

Solved!
Go to solution

Hello,

 

In earlier versions of DIAdem you could use the calculator to ask for the current value of a variable by typing the variable name, adding a question mark and pressing return. For example, if you wanted to know what the value of DataDrvUser was you could type DataDrvUser? and hit return. It would give you the current value in the calculator window.

 

I don't seem to be able to do this in 2019. Is it still possible?

 

Thanks, Simon.

0 Kudos
Message 1 of 4
(2,417 Views)
Solution
Accepted by topic author Simon_Aldworth

Hi Simon,

 

Yes, this is still possible, but it is not necessary to add the question mark? So, just type in DataDrvUser and enter (or the enter button).

There is also an alternative way by pushing the CTRL+SHIFT+F1 buttons.

 

Greetings

Walter

0 Kudos
Message 2 of 4
(2,354 Views)

Thanks Walter - how simple! Typical of me to try it out by picking a variable that never seems to return a result - CurrentScriptPath.

 

Regards.

0 Kudos
Message 3 of 4
(2,350 Views)

Hi Simon,

 

Yes, CurrentScriptPath is a function which calculates its value when called.

You can get the content with:

 

msgbox CurrentScriptPath

 

Greetings

Walter

0 Kudos
Message 4 of 4
(2,346 Views)