package | Default |
---|
__construct(array $data = array())
array
create(array $data = array()): static
array
static
fill(\SPSS\Buffer $buffer,array $data = array()): static
getSegmentName(integer $seg): string
integer
string
isVeryLong(integer $width): integer
integer
integer
toArray(): array
array
writeBlank(\SPSS\Buffer $buffer,integer $width)
TYPE
REAL_VLS_CHUNK
EFFECTIVE_VLS_CHUNK
width :integer
For a short string variable or the first part of a long string variable, this is set to the width of the string. For the second and subsequent parts of a long string variable, set to -1, and the remaining fields in the structure are ignored.
var | variable width |
---|
integer
realPosition :
missingValuesFormat :integer
If the variable has one, two, or three discrete missing values, set to 1, 2, or 3, respectively. If the variable has a range for missing variables, set to -2; if the variable has a range for missing variables plus a single discrete value, set to -3. A long string variable always has the value 0 here. A separate record indicates missing values for long string variables.
var | |
---|---|
see |
integer
print :array
[decimals, width, format, 0].
var |
---|
array
write :array
[decimals, width, format, 0].
var |
---|
array
name :string
Subsequent characters may also be digits, octothorpes (‘#’), dollar signs (‘$’), underscores (‘_’), or full stops (‘.’). The variable name is padded on the right with spaces.
var | variable name |
---|
string
label :string
The first label_len characters are the variable’s variable label.
var |
---|
string
missingValues :array
Each element is interpreted as a number for numeric variables (with HIGHEST and LOWEST indicated as described in the chapter introduction). For string variables of width less than 8 bytes, elements are right-padded with spaces; for string variables wider than 8 bytes, only the first 8 bytes of each missing value are specified, with the remainder implicitly all spaces. For discrete missing values, each element represents one missing value. When a range is present, the first element denotes the minimum value in the range, and the second element denotes the maximum value in the range. When a range plus a value are present, the third element denotes the additional discrete missing value.
var |
---|
array