Skip Line Tab Property

If the statement's tab number is higher than the current internal tab number, then the internal tab number remains the same. More formally,

if the following are true:
  • the line at time t = i
  • the tab at time t = j
  • statement at line i, tab k = s
  • k > j

then expression state at time (t + 1) = "not_expr"

When LW Python is skipping a line, maintain the current tab number. For example, if the following are true:

  • the line at time 11 = 2
  • the tab at time 11 = 0
  • statement at line 2, tab 1 = a = 7

then the tab at time (11 + 1) = the tab at time 11

Try stepping through the simulator to see LW Python skip line 2.

Code Editor
LW Python State
Current Line1Current Tab0Time0
LW Python Simulator

Comments

Please log in to add comments