Bundle Core runtime library providing primitive types (Bool, Byte, Char, Int, Float, String), base collections, and system utilities. Every Objeck program links against this bundle automatically via lang.obl.
IntRange
Integer range used primarily for looping
Implements: Range
Operations
GetStart #
Gets the starting index
method : public : GetStart() ~ IntReturn
| Type | Description |
|---|---|
| Int | starting index |
New # constructor
Constructor.
New(start:Int, end:Int, step:Int)Parameters
| Name | Type | Description |
|---|---|---|
| start | Int | starting index |
| end | Int | ending index |
| step | Int | step by value |
New # constructor
Constructor.
New(start:Int, end:Int)Parameters
| Name | Type | Description |
|---|---|---|
| start | Int | starting index |
| end | Int | ending index |
SetEnd #
Sets the ending index
method : public : SetEnd(end:Char) ~ NilParameters
| Name | Type | Description |
|---|---|---|
| end | Char | ending index |