[comp.lang.fortran] Vax-11 Fortran vs. Unix 4.3 fortran - why is FORMAT different?

mlevin@jade.tufts.edu (05/08/91)

    I am a C programmer, and am now forced to figure out fortran in
order to use a math routine written in it. Does anyone know of a
public-domain (ftp'able) fortran to C converter that runs on a Vax/VMS
system (I have one for a Unix BSD 4.3 system, but I need this on VMS)?
If not, can anyone explain to me why the FORMAT statements are
different between Unix 4.3 fortran and Vax VMS fortran? The routine
compiles fine on the Unix system, but the VMS compiler gives errors
about illegal characters in the format lines. I have never dealt with
fortran, so I am not even really sure what the format statement does.
So, I'd appreciate any advice (I have no relatively simple ways to get
my hands on a fortran manual) on any of the following:
1) can I somehow get rid of the format statements, provided I don't
   need the routine to print anything, or is it used for other purposes?
2) can I modify them to compile on VMS's fortran compiler? If so, how?
3) any general explanations on what the format statement does, would
   be appreciated.

Thanks in advance for any help. Please reply to mlevin@jade.tufts.edu
directly.

			Mike Levin