# PSPP - a program for statistical analysis. # Copyright (C) 2017, 2018, 2019 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . LegacyBinary => 00 byte[version] int16[n-sources] int32[member-size] Metadata*[n-sources][metadata] #Data*[n-sources][data] #Strings? Metadata => int32[n-values] int32[n-variables] int32[data-offset] byte*28[source-name] vB0(byte*36[ext-source-name] int32[x]) #Data => Variable*[n-variables] #Variable => byte*288[variable-name] double*[n-values] Strings => SourceMaps[maps] Labels SourceMaps => int32[n-maps] SourceMap*[n-maps] SourceMap => string[source-name] int32[n-variables] VariableMap*[n-variables] VariableMap => string[variable-name] int32[n-data] DatumMap*[n-data] DatumMap => int32[value-idx] int32[label-idx] Labels => int32[n-labels] Label*[n-labels] Label => int32[frequency] string[label]