Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

How to comment region ?

maxgreenberg
Beginner
790 Views
I did not succed to realize how to comment the whole region in the Compaq Visual Fortran ?

I hope somebody can help me, thanks in advance.
0 Kudos
3 Replies
Intel_C_Intel
Employee
790 Views
!DEC$ If(.False.)
...
...

!DEC$ End If
Sabalan.
0 Kudos
Steven_L_Intel1
Employee
790 Views
Well, that's not a comment, that's conditional compilation. If what you want is to disable a section of code, that's fine, but I wouldn't use it for commenting.

Fortran does not have block comments.

Steve
0 Kudos
david_jones
Beginner
790 Views
There is some code in the sample IDE macros that needs to be modified to work for Fortran. The attached is a cut-down and revised version ... you would need to check that it identifies free/fixed format to suit your usage. The macros usually live in....
C:Program FilesMicrosoft Visual StudioCommonMSDev98Macros

David Jones
0 Kudos
Reply