This question already has an answer here:
![Fortran powerstation 40 manual instructions Fortran powerstation 40 manual instructions](http://nnimgt-a.akamaihd.net/transform/v1/crop/frm/silverstone-feed-data/2827f7f4-0bdf-4f8a-a80f-3ef624238329.jpg/r2_0_728_410_w1200_h678_fmax.jpg)
Is because FORTRAN is particularly suitable for science and engineering; it is also very widely available. The skills you acquire working through these notes can be. Feb 1, 2019 - FORTRAN Reference Manual dated October 1975. February 1978. Systems program called a compiler, which scans the statements. Iterations of statement 40, E = 1.999 (B); since.1 cannot be.
- How to do block comment in fortran? 5 answers
I know by putting ! at the beginning of a line it will turn into comment.But how can I do that for a lot of lines?Of course I don't want to do that by putting
!
line by line.I'm using Fortran Powerstation.
NinaNina
marked as duplicate by Vladimir F, High Performance Mark fortranOct 27 '16 at 19:00
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
2 Answers
There are no block comments in Fortran.
Read the manual of your text editor or IDE and find there how to comment and uncomment several lines at a time. In my editor (Kate) it is Ctr+D and Ctrl+Shift+D, for example. Your editor will be different.
In your Visual Studio try to press Ctrl + /.
Vladimir FVladimir F
There are editors out there that do it. I use Notepad ++. Bear in mind that this will place a '!' at the beginning of each line, but it allows you to select your block of text and do it all at once.
If you are referring to HTML-style commenting where you enclose your block with <-- /--> tags, I don't believe that is possible, but it has been a while since I worked with Fortran.
Pat JonesPat Jones