TARGET attribute
Standard: F77 F90 F95 F2003   Example Program
<Syntax>
type, TARGET [ , attr ]... :: decl-list

TARGET [ :: ] name [ , name ]...
<Semantics>
The TARGET attribute allows a pointer to be associated with that variable. A pointer can only become associated with things that have this attribute.

Allocation of a pointer creates an object that implicitly has the TARGET attribute.

The TARGET attribute reduces the optimisability of the program, so only use it on variables that will have pointers associated with them. If a dummy argument has the TARGET attribute, the procedure must be referenced with an explicit interface (if it is a dummy procedure or external procedure, that means it needs an interface block).
<Related>
ALLOCATE statement, INTERFACE statement, Pointer assignment statement, POINTER attribute, Type Declaration statement