Re: Compiler query
From: Herman D. Knoble (SkipKnobleLESS_at_SPAMpsu.DOT.edu)
Date: 06/28/04
- Next message: Kamaraju Kusumanchi: "how to use 1D array as a multidimensional array"
- Previous message: It: "Simpsons characters like Marge taking off all their clothes (pics)"
- In reply to: Aenathras: "Compiler query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Jun 2004 10:15:21 -0400
Windows 2000 is probably the worst Windows when it comes
to the DOS Box. Windows XP is probably the best in this connection.
Outside of a Fortran 90 compiler (like Salford FN95 or Lahey LF95)
which compiles Fortran 77 as a subset of Fortran 90,
there is really no better free Fortran 77 than Salford FTN77. There is
documentation available (Library.pdf and Userguide.pdf)
which detail extensions. Suggest that
you write a supbrogram to implement what seems to me as a
most unconventional ALLOC "command". If you need to process
parameters passed to the Fortran .EXE, see the Command_Line
function in Library.PDF. UserGuide.PDF tells how to use libraries.
Skip Knoble, Penn State
On 27 Jun 2004 03:15:01 -0700, aenathras@beenlogoed.com (Aenathras) wrote:
-|I don't know if anyone can point me in the right direction(s) here.
-|
-|I have a legacy Fortran program compiled with an old version of
-|Microsoft Fortran and running in a 'DOS box' under Windows. No
-|graphical interface is required - it is a black box for another
-|program - it just has to work under Windows 2000 now.
-|
-|I started off searching for a Fortran compiler to use - as the moment
-|I am using Salford FTN77 - the code was Fortran 77 - and although the
-|coding environment is basic I can get it to compile and link. If there
-|is a better/more user friendly compiler out there I am open to
-|suggestions. The compiler will need to be used in a commercial
-|environment.
-|
-|The problem that I have with this compiler though is to write Fortran
-|code that will read in the number of parameters at run time and then
-|to be able to store the parameters as file variables for processing.
-|For instance I would have a command:
-|
-|ALLOC file1.dat file2.dat 2 D
-|
-|where
-| ALLOC is the program name (ALLOC.EXE)
-| file1.dat is the name of the file to input data from
-| file2.dat is the name of the file to output data to
-| 2 is a parameter which control what the program does
-| D is an optional parameter (standing for Debug) telling the program
-|to
-| show intermediate results - hence the need to know the number of
-|parameters
-|
-|I need to know the syntax for the code to deal with parameters in
-|Salford (or a.n. other compiler) and how to link the libraries at the
-|compile/link stage so that the final program can process arguments
-|correctly.
-|
-|It can't be that unusual request - it is just a case of finding an
-|alternative to the Microsoft option.
-|
-|Ideas very welcome - code snippets even more welcome :)
-|
-|Aenathras
Herman D. (Skip) Knoble, Research Associate
(a computing professional for 38 years)
Email: SkipKnobleLESS at SPAMpsu dot edu
Web: http://www.personal.psu.edu/hdk
Penn State Information Technology Services
Academic Services and Emerging Technologies
Graduate Education and Research Services
Penn State University
214C Computer Building
University Park, PA 16802-21013
Phone:+1 814 865-0818 Fax:+1 814 863-7049
- Next message: Kamaraju Kusumanchi: "how to use 1D array as a multidimensional array"
- Previous message: It: "Simpsons characters like Marge taking off all their clothes (pics)"
- In reply to: Aenathras: "Compiler query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|