Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Assignments
An assignment causes variables to be defined or redefined.
Assignment is specified by the following:
An intrinsic assignment statement
This lets you assign a value to a nonpointer variable.
A defined assignment statement
This lets you specify an assignment operation.
-
This lets you associate a pointer with a target.
Masked array assignment
This kind of assignment is denoted by a WHERE construct or statement. It lets you perform an array operation on selected elements in an array.
Element array assignment
This kind of assignment is denoted by a FORALL construct or statement. It is a generalization of masked array assignment. It allows more general array shapes to be assigned, especially if it is used in construct form.
Note that the ASSIGN statement assigns a label to an integer variable. It is discussed elsewhere.