View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Tue Dec 28, 2004 12:45 pm Post subject: IO |
|
|
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
|
Posted: Wed Dec 29, 2004 11:29 am Post subject: IO |
|
|
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 |
|
|
mrpmorris
Joined: 31 Dec 2004 Posts: 11
|
Posted: Sun Jan 02, 2005 4:59 am Post subject: IO |
|
|
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 |
|
|
|