mirror of
https://github.com/dbisu/pico-ducky.git
synced 2025-12-06 02:41:45 +00:00
* 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>
14 lines
223 B
Plaintext
14 lines
223 B
Plaintext
REM Example Function
|
|
FUNCTION COUNTDOWN()
|
|
REM The next four lines open Notepad in Windows and type "Hello World!"
|
|
GUI r
|
|
DELAY 1000
|
|
STRING notepad
|
|
ENTER
|
|
DELAY 2000
|
|
STRING Hello World!
|
|
ENTER
|
|
END_FUNCTION
|
|
COUNTDOWN()
|
|
|