Program1031.comTM
Game Programming Help for Beginners!
Home Need Help? Start here!
Questions and Answers
Get Exclusive Stuff!
Email Newsletter

Question:
Do I Need to Use a Single Equal Sign or a Double Equal Sign when Coding in Game Maker?


Answer:

Most programming languages use a single equal sign ( = ) and double equal signs (==) when declaring and comparing variables. Each one has specific rules for each use. Game Maker does too!

When comparing variables in if statements, you can use either single or double equal signs. (See image above)



When declaring or changing variables, use a single equal sign. (See image above)



If you use a double, you'll get an error! (See image above)

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

Game Making Tutorials
Find tutorials about your favorite game creation software! Use the navigation below!

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

Download Books
Search Downloadable Books from Program1031.com

Home Questions and Answers Email Newsletter
Content and Design © 2012-2019 Program1031.com. All Rights Reserved.
All Copyrights and Trademarks of mentioned products are copyrights and trademarks of their respective owners.
Our other websites: