home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / prolog / 2464 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  909 b 

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!olivea!spool.mu.edu!howland.reston.ans.net!sol.ctr.columbia.edu!eff!world!amziod
  2. From: amziod@world.std.com (Dennis C Merritt)
  3. Newsgroups: comp.lang.prolog
  4. Subject: Re: Reading text files in Prolog
  5. Message-ID: <C1HnwH.3I9@world.std.com>
  6. Date: 27 Jan 93 01:24:15 GMT
  7. References: <1993Jan21.210835.1@ntc02.tele.nokia.fi>
  8. Organization: The World Public Access UNIX, Brookline, MA
  9. Lines: 12
  10.  
  11. This is a yucchy part of Prolog.  The best thing is to use the read_in/1
  12. predicate defined in Clocksin & Mellish, if you can still get a copy.  It
  13. seems to be out of print.  It lets you define how you want to parse the
  14. text input, whether to get lines, sentences, what is white space, etc.
  15.  
  16. If you have trouble finding it I can send it to you via mail
  17.  
  18.  
  19. -- 
  20. Dennis Merritt
  21. Amziod, PO Box 273, Stow, MA 01775
  22. Tel 508/897-7332, FAX 508/897-2784, amziod@world.std.com
  23.