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
enuman enum word


Outputs
numberthe corresponding number value


Word description
Converts an enum to a number.

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

Definition


Methods