THIS STUFF IS FAKE C++ and Pascal, and is very easy to learn. It can be used instead of the drag-and-drop interface of Game Maker and provides many functions that are impossible or very difficult to program using the drag-and-drop interface
No variable types Edit
When applying values to variables in GML, you do not need to first create the variable or specify its type (such as boolean, integer or string types). Instead, GML automatically recognizes the type of variable you're trying to create. Variables even change to other types if needed.
For example, the following code makes perfect sense in GML: