public void setBoolean(String varname, boolean newval) { setString(varname, (newval ? "yes" : "no")); }
public void setInt(String varname, int newval) { setString(varname, String.valueOf(newval)); }
public void setDouble(String varname, double newval) { setString(varname, String.valueOf(newval)); }
public void setString(String varname, String newval) { setString(varname, newval, false); }