enum
See also: eñum
English
Examples |
---|
enum colours { red, green, blue, white, black } |
Etymology
Abbreviation of enumeration, used as a keyword in the C programming language and its descendants.
Noun
enum (plural enums)
- (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#
Portuguese
This article is issued from
Wiktionary.
The text is licensed under Creative
Commons - Attribution - Sharealike.
Additional terms may apply for the media files.