8.3.1 Initialize_Integer Procedure

The Initialize_Integer procedure allocates and initializes an integer scalar or array variable.

Calling syntax:

call Initialize (I, [dim1, ..., dimn,] status)

Input variables:

 I  An integer scalar variable or a pointer to an unallocated integer array variable.
 dim1, ..., dimn  Extents of the dimensions for the array I. Only as many dimensions as are needed should be entered.

Output variables:

 I  The I variable has been allocated (if it is an array) and initialized to initialize_integer_flag.
 status  If present, the status variable is set to either 'Memory Error' or 'Success' depending on program execution. If not present, the procedure aborts if unsuccessful when the DEBUG_LEVEL is set high enough.

Internal variable:

 allocate_status  Allocation Status.

The Initialize_Integer code listing contains additional documentation.

Michael L. Hall