import Type.Enumerated( _enum )
_enum is an enumerated type
The Type.Enumerated class has utilities for enumerated type names.
ENUMERATE.EXACT exit Enum _enum, entry Item string pure ENUMERATE.EXACT.SCAN exit Enum _enum, entry Item string pure ENUMERATE.UNIQUE exit Enum _enum, entry Unique string pure ENUMERATE.UNIQUE.SCAN exit Enum _enum, entry Unique string pure
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:
method ENUMERATE.EXACT pure: Binary search an ordered enumeration by its form.
exit Enum _enum :Enumeration position or 0 if no exact match.
entry Item string :Uppercase full enumeration value (not empty).
:
: Items in the enumerated type declaration must be in alphabetical order.
:...............................................................................
:
method ENUMERATE.EXACT.SCAN pure: Linear search an unordered enumeration.
exit Enum _enum :Enumeration position or 0 if no exact match.
entry Item string :Uppercase non-zero full enumeration value.
:
:...............................................................................
:
method ENUMERATE.UNIQUE: Binary search an ordered enumeration by its form.
exit Enum _enum :Enumeration position or 0 if no exact match.
entry Unique string :Mixed case full or partial enumeration value.
:A null will return 0.
:
: Items in the enumerated type declaration must be in alphabetical order.
:...............................................................................
:
method ENUMERATE.UNIQUE.SCAN: Linear search an unordered enumeration by name.
exit Enum _enum :Enumeration position or 0 if no exact match.
entry Unique string :Mixed case full or partial enumeration value.
: "0" or a null will return 0.
:
:...............................................................................