An enumerated type is a user-defined data type that defines constant values as in the following example:
The enumColors data type contains three definitions: Red, Green, and Blue, which are each assigned a hexadecimal value. ATEasy substitutes the values when you use the enumerated type in your code. For example if you use the Red definition, ATEasy substitutes the value 0xFF0000.
This chapter contains the following topics:
Topic |
Description |
Provides steps to create an enumerated user-defined data type. |
|
Presents an example showing an enumerated type used in a procedure code. |