Enumerator Object

An enumerator is a type of function object which is called repeatedly to enumerate a sequence of values.

Related: For-loop, OwnProps, OwnMethods, __Enum (Array), __Enum (Map)

Call

Retrieves the next item or items in an enumeration.

Enum.Call(ByRef OutputVar1 , ByRef OutputVar2)
OutputVar1, OutputVar2

Type: Variable

Receives an implementation-specific value.

Return Value

A non-zero integer if successful or zero if there were no items remaining.