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 

Missing END error while converting MS Powerstation code

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



Joined: 09 Jul 2008
Posts: 11
Location: Houston, TX

PostPosted: Mon Jul 14, 2008 7:36 pm    Post subject: Missing END error while converting MS Powerstation code Reply with quote

Greetings,

While converting Microsoft Powerstation code I have a fixed format fortran program (MS Powerstation) with statement:

include ''stdio.for''
the file for stdio.for is simply:

integer CON,PRN,STDIN,STDOUT,STDERR,ERRCNT,ERRMAX
common /stdio/ CON,PRN,STDIN,STDOUT,STDERR,ERRCNT,ERRMAX

These integer constants are defined in a block data file. I then put this include in many, many subroutines throughout my 30,000 line program. When I compile, get missing END error. All files have .for extension. Using standard PLATO downloaded last week (July 2008), Any suggestions? I have many other include files I use like this one.

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


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

PostPosted: Mon Jul 14, 2008 8:46 pm    Post subject: Reply with quote

It looks like you have added the include file to your project as a source file. Hence Plato is trying to compile the include file on its own and you get the missing END error.

Remove it as a source file and Plato will automatically added it as an "include" file.
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