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 

problems with ancient integer*2

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



Joined: 02 Dec 2010
Posts: 1

PostPosted: Thu Dec 02, 2010 8:44 pm    Post subject: problems with ancient integer*2 Reply with quote

Hello,
I know - nobody like it but:
subroutine test
INTEGER*2 kterm(6)
& /'= ', '+ ', '- ', '. ', ', ', ' '/
& , mrec1(6) /6*1/
INTEGER*2 mrec2(6) /6*1/
end
give problems like
Compiling file: FixedFormat1.for
.
\\tsclient\C\msys\1.0\home\warning\FixedFormat1.FOR(4) : error 281 - Not enough variables in DATA statement
\\tsclient\C\msys\1.0\home\warning\FixedFormat1.FOR(4) : error 52 - Compilation abandoned
Compilation failed.

Why I cannot mixe the both declarations/data statements. If I split them - no problems.

Thanks
Dietmar
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Sat Dec 04, 2010 12:18 pm    Post subject: Reply with quote

My guess is that this is not standard Fortran (of any vintage).
Maybe its a VAX extension that never got into FTN77 nor 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