List Initial Property
if the following are true:
- the line at time t = i
- the tab at time t = j
- statement at line i, tab j = Python list elements
- expression state at time t = "not_expr"
then the expression at time (t + 1) = Python list elements
The Logicwalk Python simulator starts evaluating a list by setting the current expression to the list. PyList stands for Python List.
For example,
if the following are true:
- the line at time 0 = 1
- the tab at time 0 = 0
- statement at line 1, tab 0 =
[2, 4, 6]
- expression state at time 0 = "not_expr"
then the expression at time (0 + 1) = [2, 4, 6]
Try stepping through the simulator to see the "Expression" change to the list.
Code Editor
LW Python State
Current Line | 1 | Current Tab | 0 | Time | 0 |
LW Python Simulator
Comments
Please log in to add comments