From: Ben Pfaff Date: Fri, 17 Oct 2014 04:28:14 +0000 (-0700) Subject: Add tdump5 dimensions to notes, since it still doesn't work. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ae2a57c297b6a9f990d35ff50752eedbf410fee;p=pspp Add tdump5 dimensions to notes, since it still doesn't work. The changes to dump.c may or may not be productive overall. --- diff --git a/dump.c b/dump.c index a59a628e3b..5801c15c6b 100644 --- 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 e988d88b61..e02b19bbb9 100644 --- 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)