User Guide
132
Chapter 7
If the result of a conditional expression is false or missing, the case is not included
in the selec
ted subset.
Most condit
ional expressions use one or more of the six relational operators (<, >,
<=, >=, =, and ~=) on the calculator pad.
Conditional expressions can include variable names, constants, arithmetic
operators, numeric and other functions, logical variables, and relational operators.
Compute Var
iable: Type and Label
By default,
new computed variables are numeric. To compute a new string variable,
you must specify the data type and width.
Label. Optional, descriptive variable label up to 120 characters long. You can enter a
label or us
e the first 110 characters of the Compute expression as the label.
Type. Computed variables can be numeric or string (alphanumeric). String variables
cannot be used in calculations.
Figure 7-3
Type and Label dialog box
Functions
Many types of functions are supported, including:
Arithmetic functions
Statistical functions
String functions










