View previous topic :: View next topic |
Author |
Message |
shahid
Joined: 16 Aug 2006 Posts: 6
|
Posted: Mon Nov 06, 2006 2:29 pm Post subject: making a blocking of code as comment |
|
|
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 |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7927 Location: Salford, UK
|
Posted: Tue Nov 07, 2006 1:19 am Post subject: making a blocking of code as comment |
|
|
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. |
|
Back to top |
|
|
shahid
Joined: 16 Aug 2006 Posts: 6
|
Posted: Tue Nov 07, 2006 4:40 am Post subject: making a blocking of code as comment |
|
|
hi,
can you please tell me which commad to use in Plato to comment a block of code in fortran program?
thanks
shahid |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7927 Location: Salford, UK
|
Posted: Tue Nov 07, 2006 5:51 am Post subject: making a blocking of code as comment |
|
|
Shahid
It is in the main toolbar after the indentation buttons.
Also in the menu Edit->Advanced.
Also Ctrl+F12. |
|
Back to top |
|
|
|