home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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
-