mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 00:59:31 +00:00
Add while loop line and operator
This commit is contained in:
parent
f5382d2912
commit
48cabbf4c0
14 changed files with 500 additions and 61 deletions
19
test/tests/while loop else.ans
Normal file
19
test/tests/while loop else.ans
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
:i = 1
|
||||
|
||||
Start with i={i}:
|
||||
|
||||
~? i < 5
|
||||
{i}
|
||||
|
||||
~ i += 1
|
||||
~~
|
||||
Loop not ran.
|
||||
|
||||
Start with i={i}:
|
||||
|
||||
~? i < 5
|
||||
{i}
|
||||
|
||||
~ i += 1
|
||||
~~
|
||||
Loop not ran.
|
||||
Loading…
Add table
Add a link
Reference in a new issue