replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Format label not found
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 

Format label not found

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



Joined: 18 Feb 2005
Posts: 56
Location: Gummersbach, Germany

PostPosted: Fri Nov 14, 2014 3:55 pm    Post subject: Format label not found Reply with quote

The attached fortran source file can not be compiled if the Format Statement is located before the assignment y = ...
The error does not occur if the Format Statement is moved behind the assignment.


Subroutine Fehler(x, y)
Implicit None
Integer, Intent(in) :: x
Integer, Intent(out) :: y
Character (Len=20) :: Text

1000 Format('Test:', I10)

y = Quadrat(x)

!$$$$$$ 1000 Format('Test:', I10)
Write(Text, 1000) y

Contains

Integer Function Quadrat(Value)
Integer, Intent(in) :: Value
Quadrat = Value * Value
End Function Quadrat

End Subroutine Fehler

_________________
Thomas
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Fri Nov 14, 2014 4:38 pm    Post subject: Reply with quote

Thanks. I have logged this for investigation.
Back to top
View user's profile Send private message AIM Address
mecej4



Joined: 31 Oct 2006
Posts: 1899

PostPosted: Fri Nov 14, 2014 6:31 pm    Post subject: Reply with quote

It may have something to do with the first statement after the declarations being a Format statement. I found that adding "y=x" before the Format statement makes the problem go away.

The problem needs to be fixed, however.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Mon Jan 19, 2015 12:42 pm    Post subject: Reply with quote

This bug has now been fixed for the next release.
Back to top
View user's profile Send private message AIM Address
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