titus.genpy.doForeach

titus.genpy.doForeach(state, scope, name, array, loopBody)[source]

Helper function for constructing foreach loops as an expression.

Calls state.checkTime() on every iteration.

Parameters:
Return type:

None

Returns:

nothing