|
Using a column containing the same number x in each row as data2 is the same as using the constant x as data2.
|
|
The OR operator can be abbreviated with a double-vertical bar (||). Use the double-vertical bar to separate the two arguments (for example, to specify V1 OR 3, you can simply type V1||3).
|
TEMP = 1 OR 8 or TEMP = 1 || 8
Creates a new column named TEMP containing the value one (any non-zero number is treated as a one).
|
Creates a new column named TEMP containing all ones (every value OR-ed with the number one produces one).
|
Creates a new column named TEMP, where each value is the row value of column V1 logically OR-ed with the corresponding row value of column V2.
|
Creates three new columns named TEMP, VX, and VY. The column TEMP contains the values in V1 logically OR-ed with the corresponding row values of column V4. The column VX contains the logically OR-ed values from columns V2 and V5. The column VY contains the logically OR-ed values from columns V3 and V6.
|
Creates a new column named TEMP, where the first 11 cells contain the logical OR-ed result of the values in rows 10-20 of columns V1 and V2. The other cells in TEMP are empty.
|
Copyright IBM Corporation 2013. All Rights Reserved.
|