UltimateHackingKeyboard / firmware

Ultimate Hacking Keyboard firmware
Other
420 stars 66 forks source link

Implement else command #698

Closed kareltucek closed 1 year ago

kareltucek commented 1 year ago

Part of #680

E.g.

setVar a 0
start:
if ($a == 0) write "a"
else if ($a == 1) write "b"
else if ($a == 2) write "c"
else if ($a == 4) break
else write "d"
write "-"
setVar a ($a+1)
goTo start