Comment() improvement

 

Hi!

Please explain how can i output several things in comment() function without having to write a mile long line.

I mean how do i write it the following way:

Comment("..",..);

Comment("..",..);

Comment("..",..);

and not Comment("..",..".",..........................................................................................................)

thanks

 
t0mbfunk:

Hi!

Please explain how can i output several things in comment() function without having to write a mile long line.

I mean how do i write it the following way:



use a string and append to that string the next thing you want to output. new line with "\n".
 
t0mbfunk:

Hi!

Please explain how can i output several things in comment() function without having to write a mile long line.

I mean how do i write it the following way:

Comment("..",..);

Comment("..",..);

Comment("..",..);

and not Comment("..",..".",..........................................................................................................)

thanks

Comment( " abc ",

"\n d",

"\n e",

"\n\n f ");

 

Boeing747 Thank you.


szgy74 Can you give an example?

 
t0mbfunk:

Boeing747 Thank you.


szgy74 Can you give an example?

It was example. then your imagination
 
i was not asking you...
 
szgy74: use a string and append to that string the next thing you want to output. new line with "\n".
t0mbfunk: szgy74 Can you give an example?
string threeLines = "this is line one";
threeLines = threeLines + "\n" + "this is line two";
threeLines = threeLines + "\n" + "this is line three";
Comment( threeLines );
 
WHRoeder:

thanks, this is what I thought of.
Reason: