GLBasic forum

Feature request => IDE/Syntax => Topic started by: backslider on 2010-Aug-23

Title: /**/ Comments
Post by: backslider on 2010-Aug-23
Is it possible to add multiple line comments like...

/*This is a
comment in
some lines
*/

?
That would be very nice! :)
Title: Re: /**/ Comments
Post by: Ian Price on 2010-Aug-23
I asked for this a long time ago. The answer is... no, but yes. Kind of.

What you can do is type a load of comment lines eg...

Code (glbasic) Select

This is a comment
This is a comment
This is a comment
This is a comment
This is a comment
This is a comment
This is a comment


Highlight all of the comment text and then press and hold CTRL and K. This will place a // in front of the text (or remove if you want to uncomment by doing the same again). Not exactly what you're after, but it works nicely.

:)
Title: Re: /**/ Comments
Post by: backslider on 2010-Aug-23
Thanks for answer ;)

I know the function CTRL+K but I don´t like it so much if I have more then 10 lines...
But if it´s not possible it´s OK. Then I must use single line comments. :)
Title: Re: /**/ Comments
Post by: Kitty Hello on 2010-Aug-23
Code (glbasic) Select

?IF 0

...
?ENDIF

Title: Re: /**/ Comments
Post by: Schranz0r on 2010-Aug-23
Quote from: Kitty Hello on 2010-Aug-23
Code (glbasic) Select

?IF 0

...
?ENDIF



Bahahahah ...NICE :D
Title: Re: /**/ Comments
Post by: backslider on 2010-Aug-23
Find ich cooler als
//
//
//
!

:P