[comp.sys.mac.programmer] mac programming in FORTRAN

winnie@tangelo.sybase.com (Winnie Leung) (11/01/90)

I want to convert a couple of engineering programs from mainframe to the   
Macintosh.  These programs are written in FORTRAN and are not easy to translate
into C or Pascal.  I therefore want to program the Mac interface in FORTRAN.
I have already acquired the Language System FORTRAN compiler.  The compiler 
has a lot of features that mimics C, such as STRUCTUREs.  There is also some
third party add-on packages that promise to make programming the Mac interface
in LS FORTRAN easy.  Of them are FaceWare and Graphpack.  

I want to know if somebody has experience in what I'm going to do.  Or some
recommendations on alternatives?

jordan@Apple.COM (Jordan Mattson) (11/02/90)

In article <11571@sybase.sybase.com> winnie@tangelo.sybase.com (Winnie Leung) writes:
>I want to convert a couple of engineering programs from mainframe to the   
>Macintosh.  These programs are written in FORTRAN and are not easy to translate
>into C or Pascal.  I therefore want to program the Mac interface in FORTRAN.
>I have already acquired the Language System FORTRAN compiler.  The compiler 
>has a lot of features that mimics C, such as STRUCTUREs.  There is also some
>third party add-on packages that promise to make programming the Mac interface
>in LS FORTRAN easy.  Of them are FaceWare and Graphpack.  
>
>I want to know if somebody has experience in what I'm going to do.  Or some
>recommendations on alternatives?

Dear Winnie -
  Another possibility that you might want to examine is mixing Language Systems
FORTRAN code with either MPW C or MPW Object Pascal code.  This is fairly 
easy to do under MPW, and allows you to build your computational engine in
FORTRAN and use C or Pascal for the user interface.
  I have seen a number of people who have done what you are doing use MPW Object
Pascal and MacApp for programming the HI and then interfaced that with the
Language Systems FORTRAN code.
-- 


Jordan Mattson                         UUCP:      jordan@apple.apple.com
Apple Computer, Inc.                   CSNET:     jordan@apple.CSNET
Development Tools Product Management   AppleLink: Mattson1 
20400 Stevens Creek Blvd, MS 75-8X
Cupertino, CA 95014
408-974-4601
			"Joy is the serious business of heaven."
					C.S. Lewis