Add tdump5 dimensions to notes, since it still doesn't work.
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 17 Oct 2014 04:28:14 +0000 (21:28 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 17 Oct 2014 04:28:14 +0000 (21:28 -0700)
The changes to dump.c may or may not be productive overall.

dump.c
notes

diff --git a/dump.c b/dump.c
index a59a628e3b52b2c10a091f19fcbc35949d8623ea..5801c15c6b9f135465ec3e6d4e95d50f6bc6c372 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -173,9 +173,11 @@ dump_category(int level)
       format = get_u32 ();
       value = get_double ();
       printf ("value %g format %d(%d.%d)", value, format >> 16, (format >> 8) & 0xff, format & 0xff);
+      match_byte (1);
       match_byte (0);
       match_byte (0);
       match_byte (0);
+      match_byte (1);
     }
 
   if (match_u32 (2))
diff --git a/notes b/notes
index e988d88b61e180e113f073f0ce7140ac308dfb18..e02b19bbb9059eb6626ac9158b13a0555b467360 100644 (file)
--- a/notes
+++ b/notes
@@ -464,6 +464,31 @@ format: dd ww ff 00, e.g. F40.1 is 01 28 05 00
 05 - variable (05 58 "varname" "Variable Label")
 
 
+tdump5 (./williams/000000000135_lightTableData.bin):
+
+    i2
+
+    05 58 "Q8New_5" "Q8_5 I would..." 02 00 00 i2 01 00 i1 00 i3
+        03 "Valid" 58 "valid" "Valid"                            01 00 00 01 i2 i-1 i2
+           01 58 F40.0(0)                                          01 00 01 i2 i-1 i1
+                01 58 F40.0(-1)                                     01 00 01 i0 i-1 i5
+                   02 58 F40.0(1) "Q8New_5" "Strongly disagree"           i2 i2 i0 i0
+                   02 58 F40.0(2) "Q8New_5" "Disgaree"                    i2 i2 i1 i0
+                   02 58 F40.0(3) "Q8New_5" "Neutral"                     i2 i2 i2 i0
+                   02 58 F40.0(4) "Q8New_5" "Agree"                       i2 i2 i3 i0
+                   02 58 F40.0(5) "Q8New_5" "Strongly agree"              i2 i2 i4 i0
+            03 "Total" 58 "total_4" "Total" i1 i2 i5 i0
+        03 "Missing" 58 "missing_observations" "Missing"         01 00 00 01 i2 i-1 i1
+            03 "System" 58 "gsysmis" "System Missing"                      i1 i2 i6 i0
+        03 "Total" 58 "total_4" "Total"                                    i1 i2 i7 i0
+
+    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 i0
+
+
 tdump19:
 
     i3 (three dimensions)