forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Followup on "A Real Issue With FTN95"

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Carl_Mesaros



Joined: 28 Nov 2016
Posts: 6

PostPosted: Tue May 09, 2017 4:23 pm    Post subject: Followup on "A Real Issue With FTN95" Reply with quote

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! Very Happy


Best regards,
Carl Mesaros
Back to top
View user's profile Send private message
mecej4



Joined: 31 Oct 2006
Posts: 732

PostPosted: Tue May 09, 2017 4:34 pm    Post subject: Reply with quote

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:
Code:
program relop
integer :: i=3, j=4
print *,i==3
print *,i/=3
print *,i > 3
print *,j <= i
end program
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group