X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fdev%2Fsystem-file-format.texi;h=b1be385334bf5ef3f8aa1adfcfdecb10d9adaf3d;hb=e624e2da6ea68d22e6d4fba4eaa96d37d07a6730;hp=193c66012c3fde1b37f15b8f0c3a0eaddb22e067;hpb=a9acce47d67e0ab35ce1690e4f1b1ac0121c2d78;p=pspp-builds.git diff --git a/doc/dev/system-file-format.texi b/doc/dev/system-file-format.texi index 193c6601..b1be3853 100644 --- a/doc/dev/system-file-format.texi +++ b/doc/dev/system-file-format.texi @@ -606,7 +606,7 @@ int32 count; /* @r{Repeated @code{count} times}. */ int32 measure; -int32 width; +int32 width; /* @r{Not always present.} */ int32 alignment; @end example @@ -622,7 +622,7 @@ The size of @code{int32}. Always set to 4. @item int32 count; The number of sets of variable display parameters (ordinarily the -number of variables in the dictionary), times 3. +number of variables in the dictionary), times 2 or 3. @end table The remaining members are repeated @code{count} times, in the same @@ -648,6 +648,10 @@ as nominal scale. @item int32 width; The width of the display column for the variable in characters. +This field is present if @var{count} is 3 times the number of +variables in the dictionary. It is omitted if @var{count} is 2 times +the number of variables. + @item int32 alignment; The alignment of the variable for display purposes: @@ -880,6 +884,9 @@ value @var{code} - @var{bias}, where variable @code{bias} from the file header. For example, code 105 with bias 100.0 (the normal value) indicates a numeric variable of value 5. +One file has been seen written by SPSS 14 that contained such a code +in a @emph{string} field with the value 0 (after the bias is +subtracted) as a way of encoding null bytes. @item 252 End of file. This code may or may not appear at the end of the data