Processing Community Forum
[SOLVED] A good way to compress nested "if else" statements?
Processing
Beginners
bryan
February 15, 2019, 2:59pm
2
Use the function switch instead.
https://processing.org/reference/switch.html
show post in topic
Related topics
Topic
Replies
Views
Activity
Easier way to write if else statement
Beginners
6
568
February 2, 2020
If statements within an array of digits
Beginners
6
518
March 26, 2020
Nesting "Else If"
Beginners
6
329
June 14, 2022
How can i optimize this chain of if/else statement?
Coding Questions
3
349
June 27, 2020
Conditional inside an IF
Coding Questions
4
517
May 3, 2019