The source form assumed by f95 depends on options, directives, and suffixes.
Files with a .f or .F suffix are assumed to be in fixed format. Files with a .f90, .f95, .F90, or .F95 suffix are assumed to be in free format.
|
If the -free or -fixed option is used, it overrides the file name suffix. If either a !DIR$ FREE or !DIR$ FIXED directive is used, it overrides the option and file name suffix.
Some mixing of source forms is allowed.
In the same f95 command, some source files can be fixed form, some free.
In the same file, free form can be mixed with fixed form by using !DIR$ FREE and !DIR$ FIXED directives.
In the same program unit, tab form can be mixed with free or fixed form.
Solaris Studio Fortran 95 is case insensitive by default. That means that a variable AbcDeF is treated as if it were spelled abcdef. Compile with the -U option to have the compiler treat upper and lower case as unique.