Jump to content


vishusmartishus

Member Since 28 Nov 2003
Offline Last Active May 22 2012 12:57 AM

Topics I've Started

C++

31 March 2010 - 10:00 PM

I haven't been around these forums in a long time... finally made it to college and taking some programming classes. GML's syntax looks very very similar to C++. Is it essentially C++ with added functions?

For instance:

A loop is surrounded by parentheses and followed by a bracket.

while( i >3 ) {

      whatever

       }

Also:

Indentation means nothing as in Python:

while( i >3)

{

whatever

}

works the same way as what I have there above.

Finally: do you have to declare everything in this language? What are the default data types?

Just want to see if this is a language I would like to fool around with, already having a background in Python and C++