Silverfrost Forums

Welcome to our forums

making a blocking of code as comment

6 Nov 2006 1:29 #1207

is it possible to comment out a block of code in a fortran program with some operator rather than putting** C** or ! infront of every line of code to be commented.In C language we can comment out a block of code using this operator /* --------------------------*/.so i am thinking whether any equivalent operator in Fortran.

thanks shahid

7 Nov 2006 12:19 #1211

Shadid

No there is no way to do this in Fortran.

IDEs like Plato and Visual Studio have commands that allow you to select a block of text and then comment out or uncomment the whole block.

7 Nov 2006 3:40 #1216

hi,

can you please tell me which commad to use in Plato to comment a block of code in fortran program?

thanks

shahid

7 Nov 2006 4:51 #1219

Shahid

It is in the main toolbar after the indentation buttons.

Also in the menu Edit->Advanced.

Also Ctrl+F12.

Please login to reply.