Menu Close

Implicit None Statement | How to Use it | FORTRAN

  • It is a non-executable statement.
  • IMPLICIT NONE statement is used to remove a very old feature of Fortran, which by default treats all variables that start with the letters i, j, k, l, m, and n as “integers” and all other variables as “real” arguments.
  • Implicit None should always be used. It prevents the compiler from confusion between variable names.

How to use Implicit None Statement?

It is very simple to use this statement. You just have to write “IMPLICIT NONE” just after the program name declaration as shown below.

PROGRAM prog_name
IMPLICIT NONE

!YOUR CODE

END PROGRAM

More Related Stuff