Changes between Version 26 and Version 27 of HowTo/FortranStandards
- Timestamp:
- 2013-05-03T11:30:10+02:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/FortranStandards
v26 v27 114 114 (4) '''Line length:''' Although the maximum line length of Fortran90 is 132 characters, keep your code to less than 80 characters per line - this preserves the formatting for those who work with small terminal windows on their computer and when producing a printout. 115 115 116 NOTE: If you are an emacs user, loading the column-marker.el file will help you highlight column 80 so you know where to terminate the line at. 117 116 118 [[BR]] 117 119 118 (5) '''Use of space:''' Always indent the code within conditional statements or loops, but don't use tabs, as the formatting will not be preserved across platforms. NOTE: The emacs indent function works well for this, since it indents with spaces (even if you use the tab key). 120 (5) '''Use of space:''' Always indent the code within conditional statements or loops, but don't use tabs, as the formatting will not be preserved across platforms. 121 122 NOTE: The emacs indent function works well for this, since it indents with spaces (even if you use the tab key). 119 123 ---- 120 124