09-13-2007 03:32 PM
09-14-2007 01:36 AM
Hi,
When you change the contents of a variable in the Post Expression during execution, its usually the Runtime version of the variable that you are changing.
When the execution completes, what you are seeing, when you select the Locals Tab, is the static version of the variable.
If you what is to change as well as the runtime version, then you have to change the static which is found at a different location.
eg.
You have boolean, myboolean" in the Locals of "MainSequence".
To change this value so that the static value is changed you would have to use an expression like
RunState.SequenceFile.Data.Seq["MainSequence"].Locals.myboolean = True
but you will also have to change the runtime version as well, eg Locals.myboolean = True
If you dont do this then your runtime version doesn't change but when you execution stop you will notice the static version will have changed.
I hope this helps.
Regards
Ray
09-14-2007 08:08 AM
Ray,
Thank you so much! Your explanation worked flawlessly and I now have everything working as I had hoped. Thank you again for your help.