X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=doc%2Fdev%2Fsystem-file-format.texi;h=d100aa9d24d59fcd6265e73e70310d6b556403f8;hb=490ac70d9c9f754f733552d64c23dd6aedced342;hp=2d576733081d3018e402bf7072fae9a3ca63eb6d;hpb=bdf3609794a1f7bea432415f7466b85a069f8b0c;p=pspp diff --git a/doc/dev/system-file-format.texi b/doc/dev/system-file-format.texi index 2d57673308..d100aa9d24 100644 --- a/doc/dev/system-file-format.texi +++ b/doc/dev/system-file-format.texi @@ -178,7 +178,7 @@ contribute to this value beyond the first 255 bytes. Further, system files written by some systems set this value to -1. In general, it is unsafe for systems reading system files to rely upon this value. -@item int32 compressed; +@item int32 compression; Set to 0 if the data in the file is not compressed, 1 if the data is compressed with simple bytecode compression, 2 if the data is ZLIB compressed. This field has value 2 if and only if @code{rec_type} is @@ -328,7 +328,7 @@ This field is present only if @code{has_var_label} is set to 1. It is set to the length, in characters, of the variable label. The documented maximum length varies from 120 to 255 based on SPSS version, but some files have been seen with longer labels. PSPP -accepts longer labels and truncates them to 255 bytes on input. +accepts labels of any length. @item char label[]; This field is present only if @code{has_var_label} is set to 1. It has @@ -352,6 +352,7 @@ in the range. When a range plus a value are present, the third element denotes the additional discrete missing value. @end table +@anchor{System File Output Formats} The @code{print} and @code{write} members of sysfile_variable are output formats coded into @code{int32} types. The least-significant byte of the @code{int32} represents the number of decimal places, and the