The GA Procedure

GetDimensions Call

  • call GetDimensions ( source, dest );

The GetDimensions call gets the dimensions of an array variable. The inputs to the GetDimensions subroutine are as follows:

source  

is the array variable whose dimensions are desired.

dest

is an array to receive the dimensions of source.

The GetDimensions subroutine is used to get the dimensions of an array passed into a user subroutine. The input dest should be an array of one dimension, with at least as many elements as there are dimensions in source (a maximum of 6). Any extra elements in dest are filled with zeros.