Article ID: 131497
Article Last Modified on 10/24/2003
C
C Compile options needed: /4Yb
C
C This program should give error F6096 when run
PROGRAM ElseIfTest
C Declare the variables
INTEGER*4 A(8)
INTEGER*4 I
INTEGER*4 S
C Initialize the variables
A = 0
I = 0
S = 2
C Begin the IF statement
IF (S .EQ. 1) THEN ! Error reported on this line
PRINT *,'Equals One'
ELSEIF (A(I) .GT. 1) THEN ! Error occurs on this line
PRINT *,''
ENDIF
END
Additional query words: 5.10 nofpsnt 1.00 1.00a
Keywords: KB131497