enum

Definition from Wiktionary, the free dictionary
Jump to: navigation, search

English[edit]

Examples
enum colours {
    red,
    green,
    blue,
    white,
    black
}

Etymology[edit]

Abbreviation of enumeration, used as a keyword in the C programming language and its descendants.

Noun[edit]

enum (plural enums)

  1. (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...

Anagrams[edit]