C+ C NAME: C ArrayLoc3 C PURPOSE: C CALLING SEQUENCE: subroutine ArrayLoc3(iSource1,iSource2,iDestin,N,L,I1,I2,I3) C INPUTS: C iSource1 integer address of source array (loc(A)) C iSource2 integer address of source array (loc(B)) C iDestin integer address of source array (loc(C)) C N integer array size C L integer length of array element in bytes C (L=1: byte, L=2: int2, L=4: int4,real4) C OUTPUTS: C I1, I2, I3 integer DO loop parameters determining C direction in which array is processed C (DO I=I1,I2,I3) C CALLS: C Say C SEE ALSO: C Array_Info C PROCEDURE: C A=Address Source1, B=Address Source2, C=Address Destination C 1..N : process array in forward direction (I=1,N,1) C N..1 : process array in backward direction (I=N,1,-1) C C AC C BC ? 1..N 1..N C C If (A=C and B=C) the direction does not matter. C If (AC) or (A>C and B