home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / prolog / 1534 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.5 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!mojo.eng.umd.edu!disney.src.umd.edu!eng.umd.edu!murad
  2. From: murad@eng.umd.edu (Ahsun Humayun Murad)
  3. Newsgroups: comp.lang.prolog
  4. Subject: another SBPROLOG Question.
  5. Message-ID: <1992Aug14.111540.10239@src.umd.edu>
  6. Date: 14 Aug 92 11:15:40 GMT
  7. Sender: news@src.umd.edu (C-News)
  8. Reply-To: murad@eng.umd.edu (Ahsun Humayun Murad)
  9. Organization: College of Engineering, Maryversity of Uniland, College Park
  10. Lines: 29
  11.  
  12.  
  13. Would someone please tell me what is going on?
  14.  
  15. (I am just starting to use prolog, and was looking for a 
  16. compiler/interpreter, so I downloaded the stuff from cs.arizona.edu
  17. (/sbprolog/v3), and installed it.
  18. ....... Unlike some others, I did not have any problems here. )
  19.  
  20. Now, I want to use it. Could someone please tell me how to
  21. start up the interpreter and do something/anything (even a query like 2=3 is
  22. fine). (The manual I have gives the following instructions:--
  23.  
  24.        sbprolog <bc_file>
  25.  
  26. where <bc_file> is the file $readloop in the modlib directory, i.e.,
  27.  
  28.        sbprolog <path>/modlib/'$readloop'  .
  29.  
  30. Anyway, the program does not complain about a missing $readloop file, so
  31. I guess it has found it. However, this is what happens:
  32. ----------------------------------------
  33. % sbprolog '../modlib/$readloop'
  34.  
  35. Halt. Program terminated normally
  36. ----------------------------------------
  37. and that is that. Now this would be fine if I had actually tried to run a
  38. program, but the poor guy is only just trying to get started.
  39.  
  40. I will appreciate any help at all. Thanks.
  41.