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

C Style operators #161

Open
djaus2 opened this issue May 2, 2024 · 4 comments
Open

C Style operators #161

djaus2 opened this issue May 2, 2024 · 4 comments

Comments

@djaus2
Copy link

djaus2 commented May 2, 2024

C style operators on numerical variables eg Set Block can have a ++ ,-- , * and / etc connected to it.
Single operator on a value

Has been implemented as Advanced-->other-->set block

Suggest:

  • Use tilde ~ for XOR
  • Use ^ for exponent operator eg [set num ^ 2] would square num and assign that back to num. That is num = num^2
  • The first entry in the other/set block will always be a variable so make it a "menu" for an existing variable as used in other blocks.
  • Suggest moving the block under Core-->Math
@ignatandrei
Copy link
Owner

I will do an example ASAP

@djaus2
Copy link
Author

djaus2 commented May 5, 2024

I've written a blog post on the recent updates here.
The latest version is taking a while to fiulter through so you can find that here

@ignatandrei
Copy link
Owner

Thank you very much. I miss documentation and examples ;-)

I wonder how I can put somewhere in Github the links to the sites that uses this library .... or your blog posts.

@djaus2
Copy link
Author

djaus2 commented May 12, 2024

You could put a note and links on the README.

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