enumerated type


enumerated type

(programming)(Or "enumeration") A type which includes inits definition an exhaustive list of possible values forvariables of that type. Common examples include Boolean,which takes values from the list [true, false], andday-of-week which takes values [Sunday, Monday, Tuesday,Wednesday, Thursday, Friday, Saturday]. Enumerated types area feature of strongly typed languages, including C andAda.

Characters, (fixed-size) integers and even floating-pointtypes could be (but are not usually) considered to be (large)enumerated types.