Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expressions, and *IF support #73

Open
stevesims opened this issue Oct 12, 2024 · 1 comment
Open

Expressions, and *IF support #73

stevesims opened this issue Oct 12, 2024 · 1 comment
Milestone

Comments

@stevesims
Copy link
Contributor

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)

@stevesims stevesims added this to the MOS 3 milestone Nov 30, 2024
@stevesims
Copy link
Contributor Author

*if is now present in the MOS 3 alpha 1

Currently there is no expression engine - only "truthy" expressions will "pass"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant