*/
  public static Value setRef(Value oldValue, Value value)  {    if (value instanceof Var)      return value;    else if (oldValue instanceof Var) {      oldValue.set(value);      return value;    }    else      return new Var(value);  }