home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!usenet.coe.montana.edu!rpi!usenet.rpi.edu!sanded
- From: sanded@rpi.edu (David T. Sanders)
- Newsgroups: comp.lang.prolog
- Subject: BinProlog Newbie question
- Message-ID: <SANDED.93Jan26003330@rebecca.rpi.edu>
- Date: 26 Jan 93 05:33:30 GMT
- Article-I.D.: rebecca.SANDED.93Jan26003330
- Distribution: comp.lang.prolog
- Organization: Rensselaer Polytechnic Institute
- Lines: 25
- Nntp-Posting-Host: rebecca.its.rpi.edu
-
-
- I want to run the program entitiled 'hello.pl'
-
- mes(hello).
- mes(world):-statistics.
-
- main(X):-mes(X).
-
- The following happens:
-
- ~/binpro1.43/progs (650) bp hello.pl
- BinProlog 1.43: Copyright (C) Paul Tarau-1992
-
- begin loading hello.pl...
- ...finished loading
- error: *** no definition for: main/1 ***
-
- I tried to compile and/or run the program in the interactive mode, but
- I can only do so after typing boot. I'm pretty confident I'm not
- supposed to bootstrap it every time I run BinProlog. I'd like to be
- able to run the program from the command line. What am I missing?
- Please send email to sanded@rpi.edu
-
- Thanks,
- David T. Sanders
-