ALLOCATABLE Arrays can be defined at runtime with variable sizing
-
REAL, ALLOCATABLE :: u(:,:) , f(:,:)
-
ALLOCATE ( u(0:nx,0:ny) , f(1:27,0:ny) )
|
One can define POINTER and TARGET attributes which can be used like REAL, DIMENSION etc.
-
=> operator allows one to set a POINTER to "point to" a TARGET
|
Arguments of a subroutine need NOT define array dimensions in subroutine as these as passed by calling program in data descriptor
|
Local arrays are created on stack and bounds maybe non constant and evaluated at procedure entry
|