X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=doc%2Fdata-file-format.texi;h=c6b0c9653aa7e2aa27c95beb074eae1bfe942fa7;hb=72435b7315ecb4943d0c8cf4ffb04fbba695ca1d;hp=b2fc27e5fc85df2b77d8e1bc775073f694c704ed;hpb=05e356b2a3087e819ef3b5388e29c822f41502e1;p=pspp diff --git a/doc/data-file-format.texi b/doc/data-file-format.texi index b2fc27e5fc..c6b0c9653a 100644 --- a/doc/data-file-format.texi +++ b/doc/data-file-format.texi @@ -43,7 +43,7 @@ described below: * 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:: @@ -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). +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. @@ -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 -@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 @@ -515,10 +518,10 @@ The value used for HIGHEST in missing values. 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. @@ -547,7 +550,7 @@ Record subtype. Always set to 11. 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 @@ -566,11 +569,11 @@ struct aux_params @item int32 measure The measurement type of the variable: @table @asis -@item 0 -Nominal Scale @item 1 -Ordinal Scale +Nominal Scale @item 2 +Ordinal Scale +@item 3 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