home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / prolog / 2220 < prev    next >
Encoding:
Internet Message Format  |  1992-12-12  |  1.1 KB

  1. Path: sparky!uunet!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!alberta!kakwa.ucs.ualberta.ca!ersys!lcraft!cduguay
  2. From: cduguay@lcraft.ersys.edmonton.ab.ca (Claude Duguay)
  3. Newsgroups: comp.lang.prolog
  4. Subject: Re: Turbo Prolog question
  5. Message-ID: <TP4mVB1w165w@lcraft.ersys.edmonton.ab.ca>
  6. Date: Fri, 11 Dec 92 15:45:04 MST
  7. References: <3302@ucl-cs.uucp>
  8. Organization: LogiCraft Corp, Edmonton, AB, Canada
  9. Lines: 16
  10.  
  11. J.Cowan@cs.ucl.ac.uk writes:
  12.  
  13. > Does anyone know how an external database REF in
  14. > Turbo Prolog is represented in C.
  15. > James Cowan
  16.  
  17. The external database Ref is a long (unsigned I think) in C. You have to
  18. be careful with these because they combine two word parts that let the
  19. system know where the data is located. If you're just using them as handles
  20. (the way they should be used) then the long datatype is what you're looking
  21. for. PDC/Turbo Prolog has a Professional User's Guide that details using
  22. the external database with C but they point out that some of the predicates
  23. can cause problems (presumably the nondeterministic ones, especially).
  24.  
  25. Claude Duguay              cduguay@lcraft.ersys.edmonton.ab.ca 
  26.