Add functions, while loops, and vars support (#264)

* Add functions, while loops, and vars support

* Add back REPEAT

* Add support for nested WHILE loops in function

---------

Co-authored-by: Tony Le <tonyle@coxautoinc.com>
This commit is contained in:
Tony
2024-09-21 12:18:16 -05:00
committed by GitHub
parent 5dd0783886
commit f1636c3e45
3 changed files with 87 additions and 19 deletions

7
examples/while_loops.dd Normal file
View File

@@ -0,0 +1,7 @@
VAR $TIME = 3
WHILE ($TIME > 0)
STRING .
DELAY 500
STRING While Looop!!
ENTER
END_WHILE