scalar
0
0
Edited Sep 1, 2015
A scalar is an expression that evaluates to a
number,
boolean or
string.
Any value, function or operation that is or returns a number, boolean or string is a scalar expression.
Examples:
11 + 2avg(Q1)pctin(Q1,1)validcount(Q1)
The following are NOT scalar_expressions:
Q1 is not a scalar expression because it represents multiple values: one for each
row in a dataset. It is a
vector.
nullifeq(Q1, 99)
is not a scalar expression because
nullifeq would return a
vector if
the first parameter is a
vector (which it is).
See Also:
vector