From: Ben Pfaff Date: Wed, 17 Sep 2025 15:45:57 +0000 (-0700) Subject: doc: Update SPSS/PC+ documentation. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Frust;p=pspp doc: Update SPSS/PC+ documentation. --- diff --git a/rust/doc/src/pc+.md b/rust/doc/src/pc+.md index 558d413603..1d87fff427 100644 --- a/rust/doc/src/pc+.md +++ b/rust/doc/src/pc+.md @@ -263,7 +263,7 @@ fields in a variable record are all offsets relative to the beginning of the labels record, with an additional 7-byte offset. That is, if the labels record starts at byte offset `labels_ofs` and a variable has a given `var_label_ofs`, then the variable label begins at byte offset -`labels_ofs` + `var_label_ofs` + 7 in the file. +`labels_ofs` + `var_label_ofs + 7` in the file. A variable label, starting at the offset indicated by `var_label_ofs`, consists of a one-byte length followed by the specified @@ -321,15 +321,16 @@ The format of the data record varies depending on the value of following the command bytes, and so on. - 2 through 255 - A number with value CODE - 100, where CODE is the value of the + A number with value `CODE - 100`, where `CODE` is the value of the compression code. For example, code 105 indicates a numeric variable of value 5. - The end of the 8-byte group of bytecodes is followed by any 8-byte - blocks of non-compressible values indicated by code 1. After that - follows another 8-byte group of bytecodes, then those bytecodes' - non-compressible values. The pattern repeats up to the number of - cases specified by the main header record have been seen. + The end of the 8-byte group of command codes is followed by any + 8-byte blocks of non-compressible values indicated by code 1. After + that follows another 8-byte group of command codes, then those + command codes' non-compressible values. The pattern repeats up to + the number of cases specified by the main header record have been + seen. The corpus does not contain any files with command codes 2 through 95, so it is possible that some of these codes are used for special