Continuing Tab Property

If the "continue" state is "continuing" at time t, then at time t + 1, tab number is decreased by 1. More formally,

if "continue" state at t = "continuing", then the tab at time (t + 1) = (the tab at time t) - 1

While LW Python is in the "continuing" state, the tab number will decrease until LW Python finds a "while" statement on the current tab.

For example, if "continue" state at 36 = "continuing", then the tab at time (36 + 1) = 2 - 1

Try stepping through the simulator to see "Current Tab" decrease from 2 to 1 on line 6.

Code Editor
LW Python State
Current Line1Current Tab0Time0
LW Python Simulator

Comments

Please log in to add comments