Home Page | | | Project Status | | | Contribute | | | Guidelines and Information |
Syntax: | i = new_enumeration(x, i), ...
|
Description: | Begins a new enumeration. If x is an integer it that is the value the enumeration begins at, if it's a sequence of length 2 the first value is the begining value and the second is the end value. Returns an integer which is an index into the list of enumerations. |
Status: | PROPOSED |
Syntax: | i = next_enum(i1)
|
Description: | Takes an integer id designating which enumeration to use and returns the next number. Any call made after reaching the end value causes an error. |
Status: | PROPOSED |
Syntax: | s = range(i1, i2)
|
Description: | Returns a sequence of all the numbers from i1 to i2. Should probably be moved to another file. |
Status: | PROPOSED |