Program1031.comTM
Game Programming Help for Beginners!
Home Questions and Answers Physical and Digital Books

Question:
Do I Need to Use Semicolons when I Code in Game Maker?


Answer:

In Game Maker, when you code, you usually don't need semicolons at the end of lines. But there are some cases where you do need to put them in!


If you create a variable that is used only for one coding need, you put var in front of the variable you are declaring. Then you can go on and code away, right? No quite...

You have to put a semicolon after this line. If you don't, you'll get an error! (See above image)

When you place a semicolon after this line, there is no error! (See below image)

Keep that in mind!



Page updated: March 23rd, 2015 @ 6:21 AM Eastern Time

Game Maker: Studio
Help, References, and Tutorials
RPG Maker Fes
Help, References, and Tutorials
smileBASIC
Help, References, and Tutorials

Physical and Digital Books
Search Physical and Digital Books at Program1031.com

Home Questions and Answers Email Newsletter
Watch our YouTube channel
Content and Design © 2012-2025 Program1031.com. All Rights Reserved. | Privacy Policy | Terms of Service
All Copyrights and Trademarks of mentioned products are copyrights and trademarks of their respective owners.

As an Amazon Associate and ChristianBook.com Affiliate, Breakthrough Gaming LLC earns a commission on qualifying purchases from Amazon.com and ChristianBook.com through our website. Thank you for your purchases!