Silverfrost Forums

Welcome to our forums

Followup on \"A Real Issue With FTN95\"

9 May 2017 3:23 #19615

Dear Silverfrost Community: This is a followup to a post I made yesterday.

Be advised that the silverfrost FTN95 Express compiler uses the old

style relational operators (e.g. .EQ. for 'is equal to') rather than the more recent relational operators (e.g. = for 'is equal to'). Thank you for your help! 😄

                                       Best regards,
                                       Carl Mesaros
9 May 2017 3:34 #19616

The Fortran 95 relational operator for equality is '==', not '='. This point and others can be cleared up by reading the FTN95 documentation.

Try this program:

program relop
integer :: i=3, j=4
print *,i==3
print *,i/=3
print *,i > 3
print *,j <= i
end program
Please login to reply.