Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!emory!att!watmath!maytag!watstat.waterloo.edu!dmurdoch From: dmurdoch@watstat.waterloo.edu (Duncan Murdoch) Newsgroups: comp.lang.pascal Subject: Re: Question about Turbo Pascal Message-ID: <1990Aug30.131520.24671@maytag.waterloo.edu> Date: 30 Aug 90 13:15:20 GMT References: <6028@drutx.ATT.COM> <1990Aug29.235707.20159@herald.usask.ca> Sender: daemon@maytag.waterloo.edu (Admin) Distribution: comp Organization: University of Waterloo Lines: 15 In article <1990Aug29.235707.20159@herald.usask.ca> lowey@herald.usask.ca (Kevin Lowey) writes: >From article <6028@drutx.ATT.COM>, by bradley@drutx.ATT.COM (DavidsonBC): >> >> 2) If there is not that much control in Turbo Pascal then can I use C >> and link that together with the turbo Pascal? > >That should be good enough for you, but if you want to you can link in any >.OBJ file with the compiler {$L} directive and procedures marked EXTERNAL. Not quite true: only a very limited subset of .OBJ files are linkable. You have to write them specifically to meet TP's standards; you can just barely link C code, but not if it uses any library calls. Duncan Murdoch dmurdoch@watstat.waterloo.edu