Cold Help System: Programming: ColdC Reference Manual: Language Structure: Data Types: Symbol


A symbol is similar to a string, but it has been abstracted into a ColdC identifier. This makes comparisons between symbols much faster than with strings, as when comparing a string each character in the string must be compared, but when comparing a symbol only one comparison occurs.

Symbols are denoted in ColdC by preceding the identifier with an apostrophe ('). Symbols are not terminated with an apostrophe. Symbols are always logically true.


Integer | Float | String | Symbol | List | Object Number | Dictionary | Error Codes | Frob | Buffer


the Cold Dark