Gets the label (not the name) of an observed variable.
Syntax
result = object.InputVariableLabel(variableNumber)
result = object.InputVariableLabel(variableNumber, groupNumber)
The InputVariableLabel method syntax has the following parts:
Part |
Description |
result |
A variable label. |
object |
An object of type AmosEngine. |
variableNumber |
An integer specifying a variable in the data set for group number groupNumber. variableNumber is 1 for the first variable in the data set. |
groupNumber |
Optional. An integer specifying a group. groupNumber is 1 for the first group. If groupNumber is omitted, the first group is used. |
Placement: [2].
Remarks
Variable labels are only available for SPSS Statistics data files. For other data formats, InputVariableLabel returns an empty string.
See Also