From gunnar.lindholm.320@student.lu.se  Fri Apr  7 06:45:52 2000
Received: from piraten.student.lu.se (piraten.student.lu.se [130.235.208.46])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id GAA27680
	for <prolog@swi.psy.uva.nl>; Fri, 7 Apr 2000 06:45:52 +0200 (MET DST)
Received: from dilbert (dialin-45-50.student.lu.se)
 by piraten.student.lu.se (Sun Internet Mail Server
 sims.3.5.2000.01.05.12.18.p9)
 with SMTP id <0FSM00GAGQKUAO@piraten.student.lu.se> for prolog@swi.psy.uva.nl;
 Fri,  7 Apr 2000 06:46:11 +0200 (MET DST)
Date: Wed, 05 Apr 2000 22:05:52 +0200
From: Gunnar Lindholm <gunnar.lindholm.320@student.lu.se>
Subject: Please refresh my memory
To: prolog@swi.psy.uva.nl
Reply-to: gunnar.lindholm.320@student.lu.se
Message-id: <00040522113700.02949@dilbert>
MIME-version: 1.0
X-Mailer: KMail [version 1.0.28]
Content-type: text/plain; CHARSET=US-ASCII
Content-transfer-encoding: 8bit

Hello.
I just started with prolog after a far to long break, and now I don't remember
how to create facts. From a textbook I find the usage:  "consult(file.pl)."
where  file.pl contains:
likes(john,mary).
likes(..........
and so on...

But how do enter this directly into the "pl" program? I tried 
likes(john,mary). but I only got the message:
ERROR: Undefined procedure: likes/2

There is something I don't remember, and I hope you can help me with this.
Best wishes 
Gunnar.

