doc: Update SPSS/PC+ documentation. rust
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 17 Sep 2025 15:45:57 +0000 (08:45 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 17 Sep 2025 15:45:57 +0000 (08:45 -0700)
rust/doc/src/pc+.md

index 558d4136037042f7df26773765d9092b9f0c9869..1d87fff42760255e6b6eacbf79a098be53377a6e 100644 (file)
@@ -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