//**************************************************************************************************** public override bool MoreThan(SingleVar b) { if (!b.IsString()) throw new CalcException("Ќеправильные операнды."); else { return b.ToString().CompareTo(m_val) < 0; } }
//**************************************************************************************************** public override SingleVar add(SingleVar b) { return new StringVar(this.m_val + b.ToString()); }