v2026.5.3
All Bundles
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

GetEnd #

Gets the ending index

method : public : GetEnd() ~ Int

Return

TypeDescription
Intending index

GetStart #

Gets the starting index

method : public : GetStart() ~ Int

Return

TypeDescription
Intstarting index

GetStep #

Gets the step value

method : public : GetStep() ~ Int

Return

TypeDescription
Intstep value

New # constructor

Constructor.

New(start:Int, end:Int, step:Int)

Parameters

NameTypeDescription
startIntstarting index
endIntending index
stepIntstep by value

New # constructor

Constructor.

New(start:Int, end:Int)

Parameters

NameTypeDescription
startIntstarting index
endIntending index

New # constructor

Constructor.

New(end:Int)

Parameters

NameTypeDescription
endIntending index

SetEnd #

Sets the ending index

method : public : SetEnd(end:Char) ~ Nil

Parameters

NameTypeDescription
endCharending index

SetStart #

Sets the starting index

method : public : SetStart(start:Char) ~ Nil

Parameters

NameTypeDescription
startCharstarting index

SetStep #

Sets the step value

method : public : SetStep(step:Char) ~ Nil

Parameters

NameTypeDescription
stepCharstep value