Unexpected token: if
in
Programming Questions
•
2 years ago
I'm trying to find a way to check if a variable is larger than another, I've searched all of the internet and the Processing website, but can't find anything. Can someone help please?
EDIT: the > symbol checks it?
It comes up with an error:
unexpected token: if.
- if (x > room_width){
- room_width += 320;
- }
1
