Discuss and collaborate on GML scripts

You are not logged in.

#1 2008-04-17 04:57:50

Registered: 2007-08-18
Posts: 1,202

Extension Maker v1.2 - GM7

The Game Maker 7 Extension Maker seems to ignore any line in a GML file that doesn't ends in a newline character. In other words, the final } curly brace needs to be followed by a newline character (ie. a "blank line"). If you are a heathen who doesn't wrap blocks of code in braces, the same applies to the last line of code.

This behavior is similar to many C compilers, or so I've read. Indeed it appears to be part of the ANSI and ISO/IEC C standards. My assumption is that the Game Maker byte-code compiler is built similarly.

Abusing forum power since 1986.


#2 2008-04-17 14:18:36

Registered: 2007-10-18
Posts: 19

Re: Extension Maker v1.2 - GM7

I remember that little annoyance when using the gcc compiler at school.  Interesting to know that the GM7 extension thingy works the same way.


Board footer

Powered by FluxBB