[comp.lang.prolog] Interfacing Turbo Prolog to Turbo Pascal of Turbo C

NU115247@NDSUVM1.BITNET (03/22/89)

I would like to know if anyone has tried to use Turbo Prolog and Turbo
Pascal/C in writing a program.  What i'd like to do is write my main
program in Pascal or C and then call my AI routines from there and be able
to send and return values.  Has anyone done this before??  Are there any
special tricks i need to know??  Thanks in advance for any help.
-------
Jeff Cooper                  | Stress:  The confusion created when the
                             |          mind overrides the bodies desire
NU115247 @ NDSUVM1.BITNET    |          to choke the living shit out of
                             |          asshole who desperately needs it.

#! rnews  

CHRIS_LAVENDER_WADE@cup.portal.com (04/03/89)

Mixing Turbo Prolog and Turbo C is easy, with a small deviation
from your stated goal. Turbo Prolog must be the MAIN program.
This is no great sacrifice, since in the Turbo Prolog first
clause, you can call your (previously named) main() in Turbo C.

How is all this done? Read the excellent examples in the two sets of
manuals.