From d6e738451e330d4d09ac505c8154436599091116 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 31 Oct 2014 22:04:39 -0700 Subject: [PATCH] Fix a few more. --- dump.c | 24 ++++++++++++++++++++++-- notes | 20 ++++++++++++++++++++ 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/dump.c b/dump.c index d21e7af0fb..24804ea13d 100644 --- 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 c8e78584fe..e3119b7d87 100644 --- 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) ------------- -- 2.30.2