Syntax Error with “Sn” Argument in Statistics 2Var Functions
|
11-15-2018, 11:32 AM
Post: #1
|
|||
|
|||
Syntax Error with “Sn” Argument in Statistics 2Var Functions
I am getting syntax errors for the first argument (Sn) when I call Statistics 2Var functions such as SetDepend(Sn,Cm) or Do2VStats(Sn). There were no such errors prior to the latest firmware update. Did the syntax change? The User Guide is from December, 2017, so I can’t tell if there was a change. Is there a correct syntax or work-around?
Thanks! |
|||
11-15-2018, 11:52 AM
Post: #2
|
|||
|
|||
RE: Syntax Error with “Sn” Argument in Statistics 2Var Functions
I just tested it and it seemed to work fine here. Is your 2Var stat the active one? If not, you might need to qualify it.
TW Although I work for HP, the views and opinions I post here are my own. |
|||
11-15-2018, 04:56 PM
Post: #3
|
|||
|
|||
RE: Syntax Error with “Sn” Argument in Statistics 2Var Functions
See if you have the Sn checked; an unchecked Sn won't calculate.
Syntax: CHECK(n) |
|||
11-16-2018, 12:21 PM
Post: #4
|
|||
|
|||
RE: Syntax Error with “Sn” Argument in Statistics 2Var Functions
Tim, I do not assume that the app is the current app so I always qualify the function calls and variable references. Eddie, thanks for reminding me to be sure that the S1 is enabled.
All is well for now - thanks very much! |
|||
11-16-2018, 12:33 PM
Post: #5
|
|||
|
|||
RE: Syntax Error with “Sn” Argument in Statistics 2Var Functions
I was able to eliminate the syntax errors by changing S1 variable to a string "S1" in the function call. But now I get an invalid input error from the function call. If I remove the double quotation marks, I get a syntax error from the compiler. Here is the code:
Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)