titus.genpy.doFor

titus.genpy.doFor(state, scope, initLet, predicate, stepSet, loopBody)[source]

Helper function for constructing for loops as an expression.

Calls state.checkTime() on every iteration.

Parameters:
Return type:

None

Returns:

nothing