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

Unary minus? #148

Open
tareksander opened this issue Apr 30, 2024 · 1 comment
Open

Unary minus? #148

tareksander opened this issue Apr 30, 2024 · 1 comment

Comments

@tareksander
Copy link

I expected that something like *create variable -2 would create a variable with the value -2, instead it gives the following error: "Invalid create instruction, too many values: variable -2". Doesn't work even if the -2 is inside parentheses.

I could just write 0-2, but that's very unintuitive.

@rocky2049
Copy link

I just submitted a pull request that could add support for this
#149

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

2 participants