Esempio n. 1
0
        public override EVariable Assign(EVariable assign)
        {
            EVDouble converted = (EVDouble)assign.Convert(GetEType());

            value = converted.Get();
            return(this);
        }
Esempio n. 2
0
        public EVariable Convert(ETypeWord to)
        {
            EVariable tryConvert = ConvertInternal(to);

            if (tryConvert != null)
            {
                return(tryConvert);
            }
            if (GetEType().Get() == to.Get())
            {
                return(this);
            }
            return(CannotConvert(to));
        }
Esempio n. 3
0
 public override EVariable Assign(EVariable assign)
 {
     assign.Convert(GetEType());
     throw new ELangException("Shoulnt have thrown this");
 }
Esempio n. 4
0
 public virtual EVariable Assign(EVariable assign)
 {
     throw new ELangException("Cannot assign to abstract class");
 }