With IMPLICIT NONE variables must be declared. A simplified syntax follows,
type
[
,attribute-list
] [
::]variable-list
&
[ =
value
]
If
attribute-list
or =
value
are present then so must be
::.
The following are all valid declarations,
REAL x
INTEGER :: i,j
LOGICAL, POINTER :: ptr
REAL, DIMENSION(10,10) :: y, z
DOUBLE PRECISION, DIMENSION(0:9,0:9) :: x
INTEGER :: k = 4
The DIMENSION attribute declares a
array.
For more information, click here