Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!ccavax!merriman From: merriman@ccavax.camb.com Newsgroups: comp.lang.pascal Subject: Re: Need to call a large C procedure from Pascal..... Message-ID: <18483.25eaa0b2@ccavax.camb.com> Date: 27 Feb 90 20:45:54 GMT References: <4673@jarthur.Claremont.EDU> <9110012@hpfcso.HP.COM> Organization: Cambridge Computer Associates, Inc. Lines: 11 >> 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. Three questions: 1. What do the parameters to the C procedure look like? 2. What does the C procedure return? 3. Does the C procedure expect to share any global data with the main program?