Hello,
I have an unexplained error message compiling the following program. The error message which follows relates to the line 'B(i+1)%C(:) = 0.'. Intel Visual Fortran compiler 11.0.66 does not complain. I would appreciate any help.
Thank you,
Yair
===================================
TYPE A REAL, DIMENSION(2) :: C END TYPE A
TYPE(A), DIMENSION(2) :: B
i = 1 B(i+1)%C(:) = 0.
END
===================================
Compiling file: muku.f90 D:\kuku\muku.F90(8) : error 256 - INTEGER expression expected in array bounds subscript Compilation failed.