public static LogicObject stringToLogicObject(String string) {
    { Surrogate sgt = null;
      Iterator iter000 = Module.allSurrogates(null, false);

      while (iter000.nextP()) {
        sgt = ((Surrogate)(iter000.value));
        if (Stella.stringEqlP(sgt.symbolName, string) &&
            ((sgt.surrogateValue != null) &&
             Stella_Object.isaP(sgt.surrogateValue, Logic.SGT_LOGIC_LOGIC_OBJECT))) {
          return (((LogicObject)(sgt.surrogateValue)));
        }
      }
    }
    return (null);
  }