fprettify icon indicating copy to clipboard operation
fprettify copied to clipboard

DO LOOP Format Issue?

Open TheBlueRage opened this issue 1 year ago • 1 comments
trafficstars

First, my apologies as I'm a novice Fortran programmer. I recently came across some code that did not prettify the way I would have expected it to. I am attaching the original code ( do-orig.txt ), the fprettified code ( do-fprettify ), and the what I would have expected the result to be ( do-expected.txt) I realize this may be just an issue with my understanding of Fortran code, so I am willing to accept that I need more education on this issue. In either event, I would appreciate your opinion. do-expected.txt do-fprettify.txt do-orig.txt

TheBlueRage avatar Apr 12 '24 15:04 TheBlueRage

Please refer to #63, #52, and possibly #101.

If you switch to END DO instead of CONTINUE it feels a little more modern, is supported, and you can still use labels should you wish to do so.

dbroemmel avatar Apr 22 '24 12:04 dbroemmel