Next: RM 3 5 7 17 Float Types, Previous: RM 3 5 4 29 Integer Types, Up: Implementation Advice [Contents][Index]
"For the evaluation of a call on
S'Pos
for an enumeration subtype, if the value of the operand does not correspond to the internal code for any enumeration literal of its type (perhaps due to an un-initialized variable), then the implementation should raiseProgram_Error
. This is particularly important for enumeration types with noncontiguous internal codes specified by an enumeration_representation_clause."
Followed.