function Dictionary() {
  this.Names  = new Array();
  this.Values = new Array();
  this.Comment = new Array();
  this.count = 0;

  this.add=function (name, value, comment) {
    this.Names[this.count]=name;
    this.Values[this.count]=value;
    this.Comment[this.count]=comment;
    this.count++;
  }

  this.getValue=function (name) {
    result = null;
    for (i=0; i<this.count; i++) {
      if (this.Names[i] == name) {
        result = new Array(2);
        result[0] =  this.Values[i];
        result[1] =  this.Comment[i];
        break;
      }
    }
    return result;
  }
}


