RAD Studio |  |

Enumerations
Collapse All

This section contains Enumeration topics.

Topics

Name | Description
Enumerations | An enumeration data type is used to provide mnemonic identifiers for a set of integer values. For example, the following declaration:
Assignment To Enum Types | The rules for expressions involving enum types have been made stricter. The compiler enforces these rules with error messages if the compiler switch -A is turned on (which means strict ANSI C++). Assigning an integer to a variable of enum type results in an error:

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!