I was wondering if there is a way to use a global variable (type: time or real or any) with the wait statement.
As far as I found in the Help, it only supports constant values.
For testing and doing experiments, I would like to change the wait time in a particular method and observe the behaviour.
Solved! Go to Solution.
Just assign it to a local variable like this:
var waitTime:real := GlobalVariable waituntil paused wait waitTime