Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2583

Style Guides

$
0
0

I am looking for a style guide.

I recall Tom Lahey's suggestions...

I use upper case for IF, ENDIF, DO, SUBROUTINE, TRANSPOSE, etc. for all the Fortran intrinsics. And therefore lower case or mixed case for my Functions, Subroutines, and Variables. e.g.

REAL(KIND=8) :: MyTime

CHARACTER(LEN=24) ::Acsii_Time

And for arguments spaces after the commas. e.g.:



CALL my sub(a, b, c, d)







But interested in whether there are any standards at all?

And if so where those might be posted??


Viewing all articles
Browse latest Browse all 2583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>