doThisFunction(); //Works
doThisFunction() //Gives error becuase I didn't finish the function with semicolon
for (var i = 0; i < condition; ++i) {
// code here
}
A slight correction in that GM never required semicolons. If anything, recent versions are even more strict with semicolon usage; downright mandatory if you plan on using YYC.This tradition was then carried to Game Maker. Eventually, GM got rid of the semicolon, but they couldn't remove this from the engine due to backwards compability. Now, it's just there for cosmetic reasons. You can use semicolon or not, doesn't really matter. The only exception would be "for" statements where you must divide the conditions.