replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Specification/initialisation problem
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 

Specification/initialisation problem

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



Joined: 22 Mar 2009
Posts: 14

PostPosted: Mon Feb 27, 2012 3:40 pm    Post subject: Specification/initialisation problem Reply with quote

The following statement (from the Intel Fortran Reference manual)

REAL PI/3.14159/, E/2.71828/, QARRAY(10)/5*0.0,5*1.0/

produces the error '*** Not enough variables in DATA statement'
when compiled with FTN95 (v5.0)

However REAL PI, E, QARRAY(10)/5*0.0,5*1.0/

and REAL QARRAY(10)/5*0.0,5*1.0/, PI/3.14159/, E/2.71828/

both compile (and run) correctly. It seems that the order of the
initialised variables determines whether there is an error or not.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Mon Feb 27, 2012 5:16 pm    Post subject: Reply with quote

This construction is not standard conforming but, since FTN95 is happy with the other cases, this can be considered as a bug.

I will log it for investigation.
Back to top
View user's profile Send private message AIM Address
PaulLaidler
Site Admin


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

PostPosted: Mon Mar 05, 2012 2:41 pm    Post subject: Reply with quote

This bug has now been fixed for the next release of FTN95.
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