Getting output type before using OutputGetStringValue, OutputGetRealValue
Hi, I am using the API, and have a working code. However, for generality, when getting output results I cannot tell what type is it. For example, if I use
....
Outputs = WS.Outputs
For i = 0 To WS.Outputs.Count - 2
var = Outputs.GetAliasByIndex(i)
varval = WS.OutputGetRealValue(var)
varvalstr = WS.OutputGetRealValue(var).RealResult.ToString
varunitstr = varval.Units
imsg = imsg + "Index=" + Str(i) + " , Name= " + var.ToString + " , Value= " + varvalstr + " , Units= " + varunitstr + vbCrLf
Next
...
How can I tell before calling OutputGetRealValue that my output is a real number not a string or matrix?
Cody

