Below I've pasted the syntax from Processing's Reference libraries to outline the basics of the code:
if(expression) {
statements
} else {
statements
}
if(expression) {
statements
} else if(expression) {
statements
} else {
statements
}Obviously extremely straight-forward, but allows for great complexity if needed.
No comments:
Post a Comment