-
Notifications
You must be signed in to change notification settings - Fork 5
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
Question about syntax for a switch! #2
Comments
hi, it works like this:
see also: best regards |
Hey :) Thanks for the quick reply. I was not able to get {} working using a classic switch(I'd like to use more than one statement pr. case, so I ended up using if statements like this: That works. Thanks for the reference, that's really nice to know. I could figure some of it out on my own, from looking at the examples, but not all of it. Do you think it's possible to have a link to that read me file in the same drop down menu as the manual? It would be lovely to always have that the read me as a quickly accesable tool, like the manual. |
@jaffasplaffa I think you probably want this: https://github.com/ArashPartow/exprtk/blob/master/readme.txt#L613 Example usage: |
Hey guys :) Sorry for the late reply! Just want to say thanks for the tips, they were really helpful ;) I managed to get most of the stuff I've been working on working now, with help from the documents you provided. This absolutely one of my favourite VCV modules. The amount of module/cable clutter has been greatly reduced in my patches, by using this module. it's just awesome! |
Hey :)
I've made this switch for testing and I can't get it to work. Probably some syntax thing I am not getting right. I am hobby coder so no expert, but I do have a little experience.
Here is an example. This does not work in Formula One:
First I assign a variable. Then I have the switch. Then assign switch result to output.
What am I doing wrong?
Thanks in advance,
Jaffa
The text was updated successfully, but these errors were encountered: