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; }
public DatVariable(DatVariableType type, int offset, int num_entries) { this.type = type; this.offset = offset; this.num_entries = num_entries; }
public DatVariable (DatVariableType type, int offset, int num_entries) { this.type = type; this.offset = offset; this.num_entries = num_entries; }