java.lang.Object
simula.runtime.RTS_RTObject.ForElt
simula.runtime.RTS_RTObject.StepUntil
- Enclosing class:
RTS_RTObject
For-statement step until element.
A1 step A2 until A3 C := A1; DELTA := A2; while DELTA*(C-A3) <= 0 do begin S; DELTA := A2; C := C + DELTA; end while; ... next for list element
-
Field Summary
Modifier and TypeFieldDescription(package private) final RTS_RTObject.RTS_NAME
<Number> The for-statement control variable.(package private) final RTS_RTObject.RTS_NAME
<Number> The initial value.(package private) Number
Next value.(package private) final RTS_RTObject.RTS_NAME
<Number> The step value.(package private) final RTS_RTObject.RTS_NAME
<Number> The until value.Fields inherited from class simula.runtime.RTS_RTObject.ForElt
more
-
Constructor Summary
ConstructorDescriptionStepUntil
(RTS_RTObject.RTS_NAME<Number> cvar, RTS_RTObject.RTS_NAME<Number> init, RTS_RTObject.RTS_NAME<Number> step, RTS_RTObject.RTS_NAME<Number> until) Create step until element. -
Method Summary
Methods inherited from class simula.runtime.RTS_RTObject.ForElt
hasNext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
cvar
The for-statement control variable. -
init
The initial value. -
step
The step value. -
until
The until value. -
nextValue
Number nextValueNext value.
-
-
Constructor Details
-
StepUntil
public StepUntil(RTS_RTObject.RTS_NAME<Number> cvar, RTS_RTObject.RTS_NAME<Number> init, RTS_RTObject.RTS_NAME<Number> step, RTS_RTObject.RTS_NAME<Number> until) Create step until element.- Parameters:
cvar
- the for-statement control variableinit
- the initial value expressionstep
- the step value expressionuntil
- the until value expression
-
-
Method Details
-
next
-