
enum
Defines a type whose values are a fixed set of tokens
Syntax
enum identifier {identifier (, identifier)*};
Description
Enums contain a comma-separated list of one or more enumerators, which are just identifiers.
Warnings
Example
enum ModeType { tyTimed, tySensed, tyHoldGreen, tyBlinkYellow, tyBlinkRed, tyNoChange };
|
Kabira Technologies, Inc. http://www.kabira.com Voice: (415) 446 5000 Fax: (415) 446 5199 |