Question
how to get a value expected from an Array in a given condition??
- December 5, 2012
- 2 replies
- 2225 views
Hi everyone,
I need to know how to get a value expected from an Array in a given condition??
for example, there is two arrays, a and Step.
a contains two values: 0.96 and 1
Step contains two string values: "O" stands for operation condition, and "S" for system test condition.
Now, i wanna a value is equal to 0.96 during the "operation" condition, and equal to 1 for test condition.
I made a programming solution, giving If function to describe my ideas, but it doesn't work. When i re-define Step:="S", then a shows strangely "NA" instead of the value 1 what i expected.
Anyone can help? thanks in advance

