TOC PREV NEXT INDEX

Kabira Technologies, Inc.


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

None

Example

 enum ModeType
 {
     tyTimed,
     tySensed,
     tyHoldGreen,
     tyBlinkYellow,
     tyBlinkRed,
     tyNoChange
 };




Kabira Technologies, Inc.
http://www.kabira.com
Voice: (415) 446 5000
Fax: (415) 446 5199
TOC PREV NEXT INDEX