The ENUMERATED type is used to constrain a component to a defined set of values. Each defined value is named using a name identifier similar to a component name. Associated with each name is a unique integer value (which can be signed), for example:
Color ::= ENUMERATED { red(0),blue(1),yellow(2),
green(3),black(7) }
| Copyright © 2008 CA. All rights reserved. |
|