🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #2419

BinProlog Newbie question

#2419
From: David T. Sanders
Date: Tue, 26 Jan 1993 05:33
25 lines
1099 bytes
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
Technical Details
Message-ID: <SANDED.93Jan26003330@rebecca.rpi.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!usenet.coe.montana.edu!rpi!usenet.rpi.edu!sanded

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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