doc: add econ-based text doc exported from previous ear-based eCdoc format.
[sdk] / doc / ecereCOM / char.econ
1 {
2    name = "char",
3    description = "Stores a single ASCII character.\n"
4       "\n"
5       "Memory occupied: 8 bits(or 1 byte)\n"
6       "\n"
7       "A char data type holds a decimal value between the range of -128 and 127. These integer values are used to refer to a particular alphanumeric character in the ASCII set.",
8    usage = "Used in the declaration section of code, which is before any statements.\n"
9       "\n"
10       "A variable declared as being a char can be assigned any single character enclosed between two single quotes (' '), or an integer which is then translated to the ASCII character corresponding to that value, at output.",
11    example = "char thisChar; // A stand alone declaration of a char.\n"
12       "char a, b; // Declaring two chars at the same time.\n"
13       "char c = 'a', d = 98; // Declaring two chars and initializing them at the same time. The 98 is the same as 'b'.",
14    remarks = "Technically, this is an integer data type. Unlike other languages, the char data type is actually a class.\n"
15       "\n"
16       "char is equivalent to a char in C.",
17    also = "bool, byte, char *, double, enum, float, int, int64, uint, uint16, uint32, uint64, OnCompare(), OnCopy(), OnDisplay(), OnEdit(), OnFree(), OnGetDataFromString(), OnGetString(), OnSaveEdit(), OnSerialize(), OnUnserialize()"
18 }