Return State Property

if expression state at time t = "return", then expression state at time (t + 1) = "iterate_args"

When the state is "return," LW Python has finished evaluating the current argument. Next, the state is updated to "iterate_args" to indicate that LW Python should evaluate any remaining arguments.

For example, if expression state at time 5 = "return", then expression state at time (5 + 1) = "iterate_args"

Try stepping through the simulator to see the "Expression State" change from "return" to "iterate_args."

Code Editor
LW Python State
Current Line1Current Tab0Time0
LW Python Simulator

Comments

Please log in to add comments