Page 1 of 1

Multiple lines comments

PostPosted: Tue May 20, 2008 6:54 pm
by asmodeus
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;
*/

Re: Multiple lines comments

PostPosted: Tue May 20, 2008 7:28 pm
by pyrometal
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.