Share this page

# enum

Example: enum

Creates an enumeration specifier. Enumeration allows a series of constant integers to be easily assigned. The format to create a enumeration specifier is:

    enum identifier {enumerator-list};

Identifier is a handle for identification, and is optional. Enumerator-list is a list of variables to be created. Each variable must be a constant integer, and is given the value of the previous variable plus 1. The first variable is given the value of 0.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: