🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #2181

Re: Turbo Prolog question

#2181
From: Claude Duguay
Date: Fri, 11 Dec 1992 22:45
16 lines
1169 bytes
J.Cowan@cs.ucl.ac.uk writes:

> Does anyone know how an external database REF in
> Turbo Prolog is represented in C.
> 
> James Cowan

The external database Ref is a long (unsigned I think) in C. You have to
be careful with these because they combine two word parts that let the
system know where the data is located. If you're just using them as handles
(the way they should be used) then the long datatype is what you're looking
for. PDC/Turbo Prolog has a Professional User's Guide that details using
the external database with C but they point out that some of the predicates
can cause problems (presumably the nondeterministic ones, especially).

Claude Duguay              cduguay@lcraft.ersys.edmonton.ab.ca 
Technical Details
Message-ID: <TP4mVB1w165w@lcraft.ersys.edmonton.ab.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!alberta!kakwa.ucs.ualberta.ca!ersys!lcraft!cduguay
References: <3302@ucl-cs.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!alberta!kakwa.ucs.ualberta.ca!ersys!lcraft!cduguay
From: cduguay@lcraft.ersys.edmonton.ab.ca (Claude Duguay)
Newsgroups: comp.lang.prolog
Subject: Re: Turbo Prolog question
Message-ID: <TP4mVB1w165w@lcraft.ersys.edmonton.ab.ca>
Date: Fri, 11 Dec 92 15:45:04 MST
References: <3302@ucl-cs.uucp>
Organization: LogiCraft Corp, Edmonton, AB, Canada
Lines: 16