Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!ncar!boulder!sunybcs!bingvaxu!leah!itsgw!sun.soe.clarkson.edu!batcomputer!cornell!uw-beaver!ubc-cs!alberta!sask!lowey From: lowey@sask.UUCP (Kevin Lowey) Newsgroups: comp.lang.pascal Subject: Re: Linking Turbo Pascal 4.0 and Turbo C together Message-ID: <1091@sask.UUCP> Date: 2 May 88 23:51:42 GMT References: <13040@brl-adm.ARPA> Organization: University of Saskatchewan Lines: 12 In article <13040@brl-adm.ARPA>, cww@mathvax.msi.cornell.EDU (Clarence Wilkerson) writes: > > I want to link the binary editor for the editor toolbox > in with a some code written in C. I'm willing to write a > shell in pascal, but how do I include the C stuff? The Turbo Pascal 4.0 manuals describe this when discussing the {$L} compiler directive. Basically, you create a C .OBJ file, then use the {$L} directive to link this .OBJ file into your code. Sorry I don't have more specifics but my manual is at home. Kevin Lowey