Exemple #1
0
        public string RowTypeString()
        {
            if (members.Length > 0)
            {
                if (isStruct)
                {
                    return("struct");
                }
                else
                {
                    return("flibbertygibbet");
                }
            }

            if (rows == 0 && columns == 0)
            {
                return("-");
            }

            if (columns == 1)
            {
                return(type.Str());
            }

            return(String.Format("{0}{1}", type.Str(), columns));
        }
Exemple #2
0
        public string RowTypeString()
        {
            if (members.Length > 0)
            {
                if (isStruct)
                {
                    return("struct");
                }
                else
                {
                    return("flibbertygibbet");
                }
            }

            if (rows == 0 && columns == 0)
            {
                return("-");
            }

            string typeStr = type.Str();

            if (displayAsHex && type == VarType.UInt)
            {
                typeStr = "xint";
            }

            if (columns == 1)
            {
                return(typeStr);
            }

            return(String.Format("{0}{1}", typeStr, columns));
        }