- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
As you know, Intel Fortran's IDE is very powerful in code alignment, by press Ctrl+K+D, we can align the code very beautifully. However, it can't recognize pre-processor definitions in code. For example, for the following code, the aligned result is as follows:
#ifdef oldcheck2 ! old method, long time
do i=1,nwrs
do j=1,nrt0
#else
do j=1,nrt0
do i=1,nwrs
#endif
However, I wish the result to be the follows:
#ifdef oldcheck2 ! old method, long time
do i=1,nwrs
do j=1,nrt0
#else
do j=1,nrt0
do i=1,nwrs
#endif
Thanks,
Tang Laoya
Link Copied
0 Replies

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