enum>number ( enum -- number )
Factor handbook > C library interface > Passing data between Factor and C > Enumeration types

Prev:define-enum ( word base-type members -- )
Next:number>enum ( enum-c-type -- quot )


Vocabulary
alien.enums

Inputs and outputs
enuman enum word
numberthe corresponding number value


Word description
Converts an enum to a number.

See also
ENUM:, define-enum, number>enum

Definition


Methods