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

diff --git a/dump.c b/dump.c
index b4f5e995b6f382ea86e95ab81315cd894b1f59bb..41d4b068252c82e39f7d467124e9a49f013efa27 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -253,8 +253,8 @@ dump_value(int level)
       format = get_u32 ();
       vallab = get_string ();
       var = get_string ();
-      if (!match_byte(1))
-        match_byte_assert (2);
+      if (!match_byte(1) && !match_byte(2))
+        match_byte_assert (3);
       value = get_string ();
       printf ("value \"%s\" format %d(%d.%d) var \"%s\" vallab \"%s\"",
               value, format >> 16, (format >> 8) & 0xff, format & 0xff, var, vallab);
diff --git a/notes b/notes
index f4ebd4daab786966c2731adbc18edca3e4a5f861..f255153b120d1b19249aa9a3ba4bb8ee9318fa47 100644 (file)
--- a/notes
+++ b/notes
@@ -1153,6 +1153,25 @@ web/6f1f8df78363208fec048190af27097e/00000000053_lightTableData.bin ([%1: * ^1:]
     03 "Statistics" 58 "statistics_10" "Statistics" 01 00 01 i2 01 00 01 i3 i1
        03 "Count" 58 "count_6" "Count" i1 i2 00 00 00 00 00 00 00 00
 
+web/75e80a604626e6bdbb6a107901dc9b36/000000000344_lightTableData.bin (Frequencies):
+
+    i2
+
+    05 58 "Sex" 00 00 00 00 03 00 00 i2 01 00 i1 00 i1
+       03 "Valid" 58 "valid" "Valid" 01 00 00 01 i2 ff ff ff ff i2
+           01 58 F40.0(0) 01 00 01 i2 ff ff ff ff i1
+               01 58 F40.0(-1) 01 00 i1 00 ff ff ff ff i3
+                   04 58 00 06 01 00 "Male" "Sex" 03 "1" 00 00 00 i2 00 00 00 00 00 00 00 00
+                   04 58 00 06 01 00 "Female" "Sex" 03 "2" 00 00 00 i2 i1 00 00 00 00
+                   04 58 00 06 01 00 "Other" "Sex" 03 "3" 00 00 00 i2 i2 00 00 00 00
+           03 "Total" 58 "total_4" "Total" i1 i2 i3 00 00 00 00
+
+    03 "Statistics" 58 "statistics_10" "Statistics" 01 00 01 i2 01 00 01 i1 i4
+       03 "Frequency" 58 "frequency" "Frequency" i1 i2 00 00 00 00 00 00 00 00
+       03 "Percent" 58 "percent" "Percent" i1 i2 i1 00 00 00 00
+       03 "Valid Percent" 58 "valid_percent" "Valid Percent" i1 i2 i2 00 00 00 00
+       03 "Cumulative Percent" 58 "cumulative_percent" "Cumulative Percent" i1 i2 i3 00 00 00 00 00 00 00 00
+
 
 Data: tdump21 (germano/Crosstabs.pdf)
 -------------