Gambas Documentation - /comp/gb/enum

/comp/gb/enum

# Enum (gb)

This static class is used for implementing enumerable classes.

You must use it inside the implementation of `_next` special method.

This class is static.
This class is
Returns all current enumerations of the current object.
statically enumerable
with the FOR EACH keyword.

Static properties | Static methods
--- | ---
Returns or sets a value that is used for referencing the next enumerated element. Index Return if the current enumeration has been stopped. Stopped | Stops the current enumeration. Stop

### See also

- Special Methods