AgonConsole8 / agon-mos

Official AGON QUARK Firmware for Console8: eZ80 MOS
MIT License
31 stars 10 forks source link

Expressions, and *IF support #73

Open stevesims opened 1 month ago

stevesims commented 1 month ago

RISC OS's CLI supported a *IF command, which would evaluate an expression and call a command if the expression evaluated as true. *if <expression> then <command> [else <command>]

https://www.riscosopen.org/wiki/documentation/show/*IF

As noted against comments on #54 we may look to eventually support functionality similar to OS_EvaluateExpression

(This type of command is mostly only useful once the CLI supports system variables)