c00d2b4dc8ba43e330d12d4e1814c84788574ab5
[sdk] / doc / ecereCOM / uint16.econ
1 {
2    name = "uint16",
3    description = "16 bit unsigned integer data type (equivalent of C99 'uint16_t'). A 16 bit unsigned integer can range from 0 to 0xFFFF (65,535).",
4    usage = "Used in the declaration section of code, which is before any statements.",
5    example = "uint16 aUint16; // A standalone declaration of a uint16\n"
6       "uint16 a, b; // Declaring two uint16s at the same time.\n"
7       "uint16 c = 64000, d = 10; // Declaring two unit16s, and initializing them both at the same time.\n"
8       "uint16 hexNumber = 0x1C42; // Declaring a uint16, and initializing it with the hex value 7,234.",
9    remarks = "Unlike other languages the uint16 data type is actually a class.\n"
10       "\n"
11       "uint16 is equivalent to an unsigned short in C.",
12    also = "bool, byte, char, char *, double, enum, int, int64, uint, uint32, uint64, OnCompare(), OnCopy(), OnDisplay(), OnEdit(), OnFree(), OnGetDataFromString(), OnGetString(), OnSaveEdit(), OnSerialize(), OnUnserialize()"
13 }