Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!bionet!agate!ucbvax!hplabs!hpfcso!bigelow From: bigelow@hpfcso.HP.COM (Jim Bigelow) Newsgroups: comp.lang.pascal Subject: Re: Need to call a large C procedure from Pascal..... Message-ID: <9110012@hpfcso.HP.COM> Date: 26 Feb 90 23:58:30 GMT References: <4673@jarthur.Claremont.EDU> Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 14 > I need a bit of help. I have a main program written in Pascal, and > I have a large (20,000 line) C procedure that I would like to call > from the main program, instead of re-writing a similar procedure in > Pascal. > What do you all suggest? I suggest that you declare the C procedure as external and let the linker resolve the reference and link in the C routine. Jim Bigelow S300 Pascal Colorado Language Lab HP