- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
I hope somebody can help me, thanks in advance.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
!DEC$ If(.False.)Sabalan.
...
...
!DEC$ End If
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Fortran does not have block comments.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
C:Program FilesMicrosoft Visual StudioCommonMSDev98Macros
David Jones

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page