Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!van-bc!ubc-cs!alberta!dvinci!reeves From: reeves@dvinci.usask.ca (Malcolm Reeves) Newsgroups: comp.lang.pascal Subject: Re: Are there any Fortran to Pascal translators Message-ID: <1990Feb16.014955.3372@dvinci.usask.ca> Date: 16 Feb 90 01:49:55 GMT References: <22404@adm.BRL.MIL> Organization: University of Saskatchewan Lines: 18 From article <22404@adm.BRL.MIL>, by J_SCHULL%HVRFORD.BITNET@cornellc.cit.cornell.edu (Jonathan Schull): I've had the same problem. My solution is: Strip all the I/O out of the FORTRAN - this usually reduces the size of .exe files considerably. Exec the compiled FORTRAN from TP5 - make sure you use IEEE number formats in both languages. Pass data by reading external files - I use unformatted FORTRAN records which are easy to read in TP5 - ASCII is much slower. I use this alot for large numerical codes in FORTRAN so that TP5 can provide a more convenient "front end" and more flexible graphics post-processing. It avoids replacing large amounts of relatively efficient bug-free FORTRAN but allows you to use all the good things in TP5. If anyone can tell me how to access "COMMON BLOCKS" after a TP5 exec I could avoid alot of file writing. It should be possible to "find" the memory addresses and hook the data with pointers but life's too short .....