Tells the compiler to apply FORTRAN 66 semantics.
Linux: | -f66 |
macOS: | -f66 |
Windows: | /f66 |
None
OFF |
The compiler applies Fortran 2018 semantics. |
This option tells the compiler to apply FORTRAN 66 semantics when interpreting language features. This causes the following to occur:
DO loops are always executed at least once.
FORTRAN 66 EXTERNAL statement syntax and semantics are allowed.
If the OPEN statement STATUS specifier is omitted, the default changes to STATUS='NEW' instead of STATUS='UNKNOWN'.
If the OPEN statement BLANK specifier is omitted, the default changes to BLANK='ZERO' instead of BLANK='NULL'.
Visual Studio: Language > Enable FORTRAN 66 Semantics
None