What is in Fortran 95 but not in FTM
F is a trademark of The Fortran Company.
Here is a brief description of what is in Fortran 95,
but not in F.
Any F program is also a Fortran 95 program.
An F program does not have:
o alternate returns o implicit typing
o block data o labels (one exception)
o fixed source form o namelist i/o
o include o statement functions
o external procedures
An F program cannot have the following statements:
o common o equivalence o backward goto
o nullify o entry o sequence
o data o format o do while
o attribute statements (e.g., dimension, pointer)
o "one-line" if, forall, and while statements
An F program requires that:
- all variables be declared, and that any attributes be specified
in the declaration statement
- only entity-oriented declarations are allowed and :: is required
- optional keywords are required in declarations and I/O statements
- all kind values must be given by parameters
- derived types may be defined only in a module or main program
- do and forall variables must be local
- each F procedure must be in a module or be internal to the main program
- modules are restricted to two varieties: public and private,
to prevent inadvertant passing of entities through a module
- all variables, types, and procedures declared in a module
must have their access attribute (public or private) declared explicitly
- all F functions must not have side effects,
except they may do formatted I/O to the terminal
- an open statement must indicate status and action
- in an open statement, some combinataions of the values of the specifiers
are prohibited
Back to All About F Page
Back to F home page
Questions or Comments?