ac585318
Member
I'm new to GMS2 and am curious... Do case statements require curly braces?
I've seen been going through tutorials and some of them are using curly braces in the case statements and some not.
I breifly read that apparently in the C programming language they are needed for declaring variables in a case statement but do they serve any similar purpose for case statements in GML? I couldn't find/see anything on this myself.
I've seen been going through tutorials and some of them are using curly braces in the case statements and some not.
I breifly read that apparently in the C programming language they are needed for declaring variables in a case statement but do they serve any similar purpose for case statements in GML? I couldn't find/see anything on this myself.