04-30-2009 08:57 AM
'Value' is a reserved name in TestStand, which means that you cannot create a variable/object in TestStand named 'value'. It's seems like a benign thing but to me it is an unecessary limitation. So why is that and are there any other reserved words that I need to be aware of?
Q: Why is it a problem for me?
A: my application is built to dynamically react to messages on a vehicle network, and I have no control over message definitions or the software architecture of our system. It just happens that at least one (that I know of) message has a parameter named value, since it is a pretty common word.
04-30-2009 09:22 AM
05-01-2009 05:26 PM
Freak,
This is very common to see certain keywords reserved in programming languages and in that regard TestStand is no different. I don't have a list of reserved words off-hand, but how are you getting your values before you do something with them? Would it be possible to just add "myVal_" to the begining of all of your values comming into TestStand, and take it off going out of TestStand. That way you would be working with "myVal_Value" rather than "Value". Using this technique, it wouldn't matter what the reserved words are. So how are you getting the values, and storing them in a way that causes an exception in TestStand?