We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
switch:
something like a switch statement
example:
switch(Value) case "a": -- Only when the Value is "a" print("A") end, case "b": print("B") end end
example 2:
switch(Value) case("a") print("A") break case(2) print("B") break default print("Default case") end
This may be hard to implement tho
The text was updated successfully, but these errors were encountered:
I'm absolutely implementing it, however I'd like to propose a change. Adding the end keyword to each case/default. so it'd be
switch(Value) case("a") print("A") break end case(2) print("B") break end default print("Default case") end end
Sorry, something went wrong.
yeah this is also more readable :) (and maybe even more easier to implement)
No branches or pull requests
switch:
example:
example 2:
This may be hard to implement tho
The text was updated successfully, but these errors were encountered: