Hi, I'm new to FORTRAN and struggling with the following subroutine. There's an array 'INDU' used in the subroutine 'INVERS'. I can't find the declaration of INDU in the code. I searched the whole programm but INDU only appears in subroutine 'INVERS', so it can't be a global variable. The FTN95 debugger says 'Variable Unknown' when try to read the elements of the array. Nevertheless, the array INDU is used in the subroutine. Please help me to understand whats going on here.
SUBROUTINE INVERS(NGL,NUGL,MAX,MAXUGL,ME0,DIAG,SPG,LUGL,MAT,
* VEK,KOL,END,X,MAT0,VEK0,END0)
IMPLICIT REAL*8(A-H,O-Z)
C
COMMON /WINDOW/ WIN3
COMMON /IODEF / VERSIO,NTEST,IKART,NLIST,ND1,INET,NNET,NPLOT,
, NUEPL
C
REAL*8 DIAG(1),MAT(1),VEK(1),X(1)
REAL*8 MAT0(1),VEK0(1),SPG(1)
LOGICAL LUGL(1)
C
INTEGER KOL(1),END(1),END0(1)
CHARACTER*10 TE
C Where is INDU declared???
INDU(IZ,IS)=(IZ-1)*NUGL+IS
C .... additional code where INDU is used