public static int addEntryType(String name,int numArgs){
  entryTypes.put(name,new Integer(nextEntry));
  entryArgs.add(nextEntry,new Integer(numArgs));
  nextEntry++;
  return nextEntry - 1;
}

public static int addEntryType ( String name , int numArgs ) { entryTypes . put ( name , new Integer ( nextEntry ) ) ; entryArgs . add ( nextEntry , new Integer ( numArgs ) ) ; nextEntry ++ ; return nextEntry - 1 ; }
adds a new catalog entry type .
