Is it possible to add an "or" command so that if one of the options is true, then the command goes through?
Something like this:
String animal = "cat";
if(animal == "cat" or "rabbit")
Thanks.
EDIT: FLIP! I did a search right now and found out how to do it with || and &&...
I can never find out how until I post on sythe...
Something like this:
String animal = "cat";
if(animal == "cat" or "rabbit")
Thanks.
EDIT: FLIP! I did a search right now and found out how to do it with || and &&...
I can never find out how until I post on sythe...





