The Generic utility that John Silver referred to has no bearing on the FTN95 error message regarding the colon. To see that, change the code of the loop to the following:
DO i = 1, NUMBlevsZ (izs)
C_Sum = 0
Do j = 1, NUMBlevsZ (izs+1)
C_Sum = C_Sum + Ct_Hull(j,i,IZSp1) (RELAB(IZSp1,iii)+1e-7)
enddo
enddo
I have simplified the expression, and shortened the variable names, so no continuation line is needed and there is no line that is longer than 72 characters. However, as in Dan's example code, wherein tab expansion moved the '/' operator to a position beyond column 72, I have left out the '/' operator that should have been present between the adjacent parentheses.
The compiler again gives the error message involving the mysterious colon. This is simply another instance of a compiler not quite giving a clear diagnosis when the input code is in error, and I do not think that we should complain loudly in such instances.