07-09-2015 04:34 PM
In one sequence I have dozens of Pre-Expressions which are almost the same thing, like this...
Locals.tagID = (Parameters.singlePhaseEnabled ? "L" : "D") & Str(Locals.phase) & "006"
...and the only thing different is that three digit string at the end ("006" will vary). How can I write a function that I can call from a step's Pre-Expression so it would look something like this? ...
Locals.tagID = MyNewFunction("006")
Solved! Go to Solution.
07-10-2015 01:58 AM
You cannot write custom commands for expressions.
That being said, there are a couple of options:
Norbert
07-10-2015 04:01 AM
Good ideas, thanks.
Bruce