Wish Comments of several lines.

vecino

Well-Known Member
Licensed User
Longtime User
It is good to have some option to comment on several lines without having to comment all of them.
/ *
Comment of several lines.
This is the second line.
This is the third line.
* /
I can use
#if comment
...
#end if
But I do not think it's appropriate.
Thank you.
 

William Lancee

Well-Known Member
Licensed User
Longtime User
You can also use:

B4X:
#Region Comments
     'blah blah
     'blah blah
#End Region
 
Last edited:

vecino

Well-Known Member
Licensed User
Longtime User
It is necessary to type too much.
It is very uncomfortable, much worse than #if
Thank you for your advice.
 

William Lancee

Well-Known Member
Licensed User
Longtime User
You're right, the lines still need a single starting quote each. I suggested it because that's how I do, it shows up in the modules list and can be minimized, as well as have a more detailed title.
 

Cableguy

Expert
Licensed User
Longtime User
Tou can just write whatever you need/want and the use the block comment feature right from the IDE menu bar! It automatically adds the comment symbol to all selected lines
 

vecino

Well-Known Member
Licensed User
Longtime User
Yes, I know that. I use it more quickly with CTRL+Q
But it is precisely what I would like to avoid.
' bla, bla, bla, bla...
' bla, bla, bla, bla...
' bla, bla, bla, bla...
' bla, bla, bla, bla...
' bla, bla, bla, bla...
/*
bla, bla, bla, bla...
bla, bla, bla, bla...
bla, bla, bla, bla...
bla, bla, bla, bla...
bla, bla, bla, bla...
*/
 
Top