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

Provide examples of how to write switch statements with eventuals #526

Open
CodingCanuck opened this issue Aug 4, 2022 · 0 comments
Open

Comments

@CodingCanuck
Copy link
Contributor

https://github.com/3rdparty/eventuals/blob/b0bd74f5a775f98416baffbaa24adea33178c1de/eventuals/if.h is the eventuals-native way to write if-then-else conditionals.

What's the eventuals-native way to write switch conditionals?

If there's not an eventuals-native way to do something like this, what's the best alternative (e.g. chained if-elif-elif-elif statements)? We should document the answer to that in a best practices doc ( #523 ).

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