All Bundles

IntRange

Integer range used primarily for looping

Implements: Range

Operations

New

Constructor.

New(start:Int, end:Int, step:Int)
Parameters
NameTypeDescription
startIntstarting index
endIntending index
stepIntstep by value

Constructor.

New(start:Int, end:Int)
Parameters
NameTypeDescription
startIntstarting index
endIntending index

Constructor.

New(end:Int)
Parameters
NameTypeDescription
endIntending index

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

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