CSLE.CLS_Type_String.Math2Value C# (CSharp) Method

Math2Value() public method

public Math2Value ( CLS_Content env, char code, object left, CLS_Content right, CLType &returntype ) : object
env CLS_Content
code char
left object
right CLS_Content
returntype CLType
return object
        public object Math2Value(CLS_Content env, char code, object left, CLS_Content.Value right, out CLType returntype)
        {
            returntype = typeof(string);
            if (code == '+')
            {
                if (right.value == null)
                {
                    return (string)left + "null";
                }
                else
                {
                    return (string)left + right.value.ToString();
                }
            }
            throw new NotImplementedException();
        }