Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!wuarchive!udel!princeton!njin!njitgw!mars.njit.edu!cd5340 From: cd5340@mars.njit.edu (David Charlap) Newsgroups: comp.lang.pascal Subject: Re: Fortran routines from pascal? Message-ID: <2629@njitgw.njit.edu> Date: 13 Mar 91 19:53:30 GMT References: <1991Mar7.111905.10406@vaxa.strath.ac.uk> <9110024@hpfcso.FC.HP.COM> Sender: news@njitgw.njit.edu Organization: New Jersey Institute of Technology Lines: 14 I don't know about your implimentation, but on the PC, there are other more serious concerns. mostly, that each language uses a different convention for parameter/return-address passing. MS-fortran allows the user to specify if a procedure is to use FORTRAN, PASCAL, or C calling conventions. MS-pascal and MS-C also have similar declarations. If the wrong conventions are used, no parameters will pass correctly, and there's no gurantee that anything will work right. MS-Fortran also allows strings to be formatted as PASCAL or C strings in addition to the CHARACTER*n type that FORTRAN normally uses. -- David Charlap "Invention is the mother of necessity" cd5340@mars.njit.edu "Necessity is a mother" Operators are standing by "mother!" - Daffy Duck