Multiple lines comments

Game Editor comments and discussion.

Multiple lines comments

Postby asmodeus » Tue May 20, 2008 6:54 pm

Did you know that you can also write comments in "/* */"?
example to check, if that is really right:
Code: Select all
x = 0;
y = 0;
xvelocity = 1;
yvelocity = -1;
/*
x = 1200;
y = -11;
xvelocity = -12;
yvelocity = 0.87;
*/
User avatar
asmodeus
 
Posts: 483
Joined: Thu Oct 11, 2007 5:04 pm
Location: Germany
Score: 43 Give a positive score

Re: Multiple lines comments

Postby pyrometal » Tue May 20, 2008 7:28 pm

A lot of us know this, but we don't really want to use it in GE because it lacks syntax highlighting, which confuses most people when reviewing codes. Thanks for mentioning it though because, conversely, a lot of people probably didn't know this as well and they may want to use it ocasionally.
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron