protected int AddVariableBlock(int num_entries, DatVariableType var) { DatVariable new_variable = new DatVariable(var, offset, num_entries); int rv = variables.Count; variables.Add(new_variable); offset += new_variable.BlockSize(); return(rv); }
protected int AddVariableBlock (int num_entries, DatVariableType var) { DatVariable new_variable = new DatVariable (var, offset, num_entries); int rv = variables.Count; variables.Add (new_variable); offset += new_variable.BlockSize (); return rv; }