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 

IO

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Tue Dec 28, 2004 12:45 pm    Post subject: IO Reply with quote

I tried another fortran.net compiler, but on the compact framework it would not read/write files because System.IO was not implemented. I'd like to know if your compiler works on the compact framework, and if it handles file operations?
Back to top
Andrew



Joined: 09 Sep 2004
Posts: 232
Location: Frankfurt, Germany

PostPosted: Wed Dec 29, 2004 11:29 am    Post subject: IO Reply with quote

FTN95 has not been designed for or tested for use with the compact framework. .NET executables created with FTN95 rely on several .NET runtime assemblies which may use routines that are not contained in the compact framework. Saying this however, there is a good chance your programs will work with the compact framework. FTN95 uses System.IO routines for file IO if using the compiler to generate assemblies, and if you really needed to you could call the .NET routine directly by using an ASSEMBLY_EXTERNAL statement.
Back to top
View user's profile Send private message
mrpmorris



Joined: 31 Dec 2004
Posts: 11

PostPosted: Sun Jan 02, 2005 4:59 am    Post subject: IO Reply with quote

Hi

Thanks for the reply. All of the routines in question will simply be a subroutine which performs the following task

1) Accept inputs via a common block
2) Read some relevant statistics from a file
3) Calculate some output values
4) Place them in an output common block

I intend to compile each subroutine as an assembly, not an application, and then execute the code from a C# WinForms app (Compact Framework).

Now, if I can just get the subroutine to compile I could test it. It seems not to like pre-defined array values or something (see Support group).
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 -> General 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