protected void promptText(MOB mob, TriadList<String,String,Integer> sets, String var, int showNumber, int showFlag, String prompt, String help, boolean emptyOK)
	throws java.io.IOException
	{
		final int index=sets.indexOfFirst(var);
		final String oldVal=index>=0?(String)sets.get(index).second:"";
		while((mob.session()!=null)&&(!mob.session().isStopped()))
		{
			final String newVAL=CMLib.genEd().prompt(mob,oldVal,showNumber,showFlag,prompt,emptyOK);
			if(newVAL.equals("?"))
			{
				mob.tell(help);
				continue;
			}
			else
			if(index>=0)
				sets.get(index).second = newVAL;
			else
			if(!newVAL.equals(oldVal))
				sets.add(var,newVAL,Integer.valueOf(-1));
			break;
		}
	}