Consistently write "file name" as two words, in accordance with the
[pspp] / doc / data-file-format.texi
index b2fc27e5fc85df2b77d8e1bc775073f694c704ed..c6b0c9653aa7e2aa27c95beb074eae1bfe942fa7 100644 (file)
@@ -43,7 +43,7 @@ described below:
 * Document Record::             
 * Machine int32 Info Record::   
 * Machine flt64 Info Record::   
 * Document Record::             
 * Machine int32 Info Record::   
 * Machine flt64 Info Record::   
-* Auxilliary Variable Parameter Record::
+* Auxiliary Variable Parameter Record::
 * Long Variable Names Record::
 * Miscellaneous Informational Records::  
 * Dictionary Termination Record::  
 * Long Variable Names Record::
 * Miscellaneous Informational Records::  
 * Dictionary Termination Record::  
@@ -94,6 +94,9 @@ file's endianness.
 Number of data elements per case.  This is the number of variables,
 except that long string variables add extra data elements (one for every
 8 characters after the first 8).
 Number of data elements per case.  This is the number of variables,
 except that long string variables add extra data elements (one for every
 8 characters after the first 8).
+When reading system files, PSPP will use this value unless it is set
+to -1, in which case it will determine the number of data elements by
+context.  When writing system files PSPP always uses this value.
 
 @item int32 compressed;
 Set to 1 if the data in the file is compressed, 0 otherwise.
 
 @item int32 compressed;
 Set to 1 if the data in the file is compressed, 0 otherwise.
@@ -469,7 +472,7 @@ Character code.  1 indicates EBCDIC, 2 indicates 7-bit ASCII, 3
 indicates 8-bit ASCII, 4 indicates DEC Kanji.
 @end table
 
 indicates 8-bit ASCII, 4 indicates DEC Kanji.
 @end table
 
-@node Machine flt64 Info Record, Auxilliary Variable Parameter Record, Machine int32 Info Record, Data File Format
+@node Machine flt64 Info Record, Auxiliary Variable Parameter Record, Machine int32 Info Record, Data File Format
 @section Machine @code{flt64} Info Record
 
 There must be no more than one machine @code{flt64} info record per
 @section Machine @code{flt64} Info Record
 
 There must be no more than one machine @code{flt64} info record per
@@ -515,10 +518,10 @@ The value used for HIGHEST in missing values.
 The value used for LOWEST in missing values.
 @end table
 
 The value used for LOWEST in missing values.
 @end table
 
-@node Auxilliary Variable Parameter Record, Long Variable Names Record, Machine flt64 Info Record, Data File Format
-@section Auxilliary Variable Parameter Record
+@node Auxiliary Variable Parameter Record, Long Variable Names Record, Machine flt64 Info Record, Data File Format
+@section Auxiliary Variable Parameter Record
 
 
-There must be no more than one auxilliary variable parameter record per
+There must be no more than one auxiliary variable parameter record per
 system file.  This  record must follow the variable
 records and precede the dictionary termination record.
 
 system file.  This  record must follow the variable
 records and precede the dictionary termination record.
 
@@ -547,7 +550,7 @@ Record subtype.  Always set to 11.
 The size  @code{int32}. Always set to 4.
 
 @item int32 count;
 The size  @code{int32}. Always set to 4.
 
 @item int32 count;
-The total number of bytes in @code{aux_params} divided by 3.
+The total number of records in @code{aux_params}, multiplied by 3.
 
 @item struct aux_params aux_params[];
 An array of @code{struct aux_params}.   The order of the elements corresponds 
 
 @item struct aux_params aux_params[];
 An array of @code{struct aux_params}.   The order of the elements corresponds 
@@ -566,11 +569,11 @@ struct aux_params
 @item int32 measure
 The measurement type of the variable:  
 @table @asis
 @item int32 measure
 The measurement type of the variable:  
 @table @asis
-@item 0
-Nominal Scale
 @item 1
 @item 1
-Ordinal Scale
+Nominal Scale
 @item 2
 @item 2
+Ordinal Scale
+@item 3
 Continuous Scale
 @end table
 
 Continuous Scale
 @end table
 
@@ -597,7 +600,7 @@ Centre aligned
 
 
 
 
 
 
-@node Long Variable Names Record, Miscellaneous Informational Records, Auxilliary Variable Parameter Record,  Data File Format
+@node Long Variable Names Record, Miscellaneous Informational Records, Auxiliary Variable Parameter Record,  Data File Format
 @section Long Variable Names Record
 
 There must be no more than one long variable names record per
 @section Long Variable Names Record
 
 There must be no more than one long variable names record per