forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

making a blocking of code as comment

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
shahid



Joined: 16 Aug 2006
Posts: 6

PostPosted: Mon Nov 06, 2006 2:29 pm    Post subject: making a blocking of code as comment Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7927
Location: Salford, UK

PostPosted: Tue Nov 07, 2006 1:19 am    Post subject: making a blocking of code as comment Reply with quote

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
View user's profile Send private message AIM Address
shahid



Joined: 16 Aug 2006
Posts: 6

PostPosted: Tue Nov 07, 2006 4:40 am    Post subject: making a blocking of code as comment Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7927
Location: Salford, UK

PostPosted: Tue Nov 07, 2006 5:51 am    Post subject: making a blocking of code as comment Reply with quote

Shahid

It is in the main toolbar after the indentation buttons.

Also in the menu Edit->Advanced.

Also Ctrl+F12.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group