Definify.com
Definition 2024
enum
enum
See also: eñum
English
Examples |
---|
enum colours { red, green, blue, white, black } |
Noun
enum (plural enums)
- (computing, programming) An enumeration (set of named constants).
- 2007, Robert Pickering, Foundations of F#
- Enums allow you to define a type made up of a finite set of identifiers, with each identifier mapping to an integer.
- 2007, Teresa Hennig, Rob Cooper, Geoffrey L Griffith, Armen Stein, Access 2007 VBA Programmer's Reference
- The Access object model contains many enums that you can use in your applications.
- 2009, Richard F Raposa, SCJP: Sun Certified Programmer for Java Platform (Exam CX-310-065)
- A unique feature of enums is that when you switch on a variable of an enum type, you do not prefix the case statements...
- 2007, Robert Pickering, Foundations of F#