Newsgroups: comp.lang.prolog
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!whirlwind!typhoon!carlin
From: carlin@typhoon.seas.ucla.edu (Carlin C. Wong)
Subject: Help starting with Prolog
Sender: news@seas.ucla.edu (News Daemon)
Message-ID: <CynKIx.G7n@seas.ucla.edu>
Date: Wed, 2 Nov 1994 18:25:43 GMT
Organization: School of Engineering & Applied Science, UCLA.
X-Newsreader: TIN [version 1.2 PL2]
Lines: 16

I'm just beginning using Prolog and don't really have a clue as to how
to get it to work.  I need to write some routines for a homework assignment
(umm..due tomorrow morning..), and need the routines to work on a 
database file full of declaration type instructions.  Now, how do I write
my routines in one file, have this database prolog file, and make my
queries?  As far as I can tell, when I run Prolog (any copy I have, 
including BinProlog3.0 for Unix and DOS, as well as SWI-Prolog for Windows),
it just comes up with the query window.  But how do I load in files and
where do I write my routines?  Do I just write my routines in a text file
and load those into Prolog (at the query prompt) and load my database
at the same prompt?  Any information would be greatly appreciated...
and _prompt_ responses are strongly encouraged.  :)  Thanks!

Carlin
carlin@seas.ucla.edu

