public bool Get(out string val, string sName) { RReporting.ClearErr(); val=GetForcedString(sName); return RReporting.sLastErr==""; /* int index=IndexOf(sName); if (index>=0) { try { return varr[index].Get(out val, index); } catch (Exception exn) { RReporting.ShowExn(exn,"Get(out string,...)","looking for script string variable {sName:"+sName+"}"); return false; } } else { RReporting.ShowErr("not found","GetForcedString","looking for script string variable {sName:"+sName+"}"); return false; } */ }
public bool Get(out long val, string sName) { RReporting.ClearErr(); val=GetForcedLong(sName); return RReporting.sLastErr==""; }
public bool Get(out float val, string sName) { RReporting.ClearErr(); val=GetForcedFloat(sName); return RReporting.sLastErr==""; }