Fix a few more.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 1 Nov 2014 05:04:39 +0000 (22:04 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 1 Nov 2014 05:04:39 +0000 (22:04 -0700)
dump.c
notes

diff --git a/dump.c b/dump.c
index d21e7af0fb5044b8f58bcd547f438462516e1cea..24804ea13d3e9f31453d1f4aa58854d701b8d084 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -486,12 +486,11 @@ dump_dim(void)
       if (!match_byte(2))
         match_byte_assert(3);
     }
-  else
+  else if (match_byte(0x31))
     {
       int subn;
       int total_subs = 1;
 
-      match_byte_assert(0x31);
       match_u32_assert (0);
       match_u32_assert (0);
       subn = get_u32 ();
@@ -513,6 +512,27 @@ dump_dim(void)
           dump_dim_value (0);
         }
     }
+  else
+    {
+      int total_subs = 1;
+
+      match_byte_assert (0x58);
+      printf ("\"%s\" with substitutions:", get_string());
+      for (;;)
+        {
+          int n_subst = get_u32();
+          if (!n_subst)
+            break;
+          printf (" %d", n_subst);
+          total_subs *= n_subst;
+        }
+
+      for (int i = 0; i < total_subs; i++)
+        {
+          putc ('\n', stdout);
+          dump_dim_value (0);
+        }
+    }
 
   match_byte_assert(0);
   if (!match_byte(0) && !match_byte(1))
diff --git a/notes b/notes
index c8e78584feb2fa4431107f69d289897ca56668ad..e3119b7d87aa7da7c9a407d342137e8d9b09cb96 100644 (file)
--- a/notes
+++ b/notes
@@ -1038,6 +1038,26 @@ web/a57e5529f1f2d4b25f5b9ad78f91864e/00000000038_lightTableData.bin (Tests of Wi
        03 "F" 58 "f_value" "F" i1 i2 i3 00 00 00 00
        03 "Sig." 58 "significance_level" "Sig." i1 i2 i4 00 00 00 00 00 00 00 00
 
+web/a57e5529f1f2d4b25f5b9ad78f91864e/00000000031021_lightTableData.bin (POSTHOC Multiple Comparisons):
+
+    i5
+
+    03 "Statistics" 58 "statistics_10" "Statistics" 01 00 02 i2 01 00 i1 00 i4
+       03 "Mean Difference (I-J)" 58 "mean_difference_i-j" "Mean Difference (I-J)" i1 i2 00 00 00 00 00 00 00 00
+       03 "Std. Error" 58 "standard_error" "Std. Error" i1 i2 i1 00 00 00 00
+       03 "Sig." 58 "significance_level" "Sig." i1 i2 i2 00 00 00 00 00
+       58 "^1% Confidence Interval" i1 00 00 00 00 01 58 00 03 i5 00 00 00 c0 57 40 00 00 01 i2 ff ff ff ff i2
+           03 "Lower Bound" 58 "lower_bound" "Lower Bound" i1 i2 i3 00 00 00 00
+           03 "Upper Bound" 58 "upper_bound" "Upper Bound" i1 i2 i4 00 00 00 00 00
+
+    58 "(J) ^1" i1 i0 05 58 "Treatments" 00 00 00 00 02 00 00 i2 00 00 01 i1 i4
+       04 58 00 03 i1 00 00 "Treatments" 02 "C" 00 00 00 i2 00 00 00 00 00 00 00 00
+       04 58 00 03 i1 00 00 "Treatments" 02 "N" 00 00 00 i2 i1 00 00 00 00
+       04 58 00 03 i1 00 00 "Treatments" 02 "NP" 00 00 00 i2 i2 00 00 00 00
+       04 58 00 03 i1 00 00 "Treatments" 02 "P" 00 00 00 i2 i3 00 00 00 00 00
+
+    ...
+
 Data: tdump21 (germano/Crosstabs.pdf)
 -------------