From sprior@geekster.com Tue Sep 18 01:17:58 2001
Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f8HNHwv09017
	for <prolog@swi.psy.uva.nl>; Tue, 18 Sep 2001 01:17:58 +0200 (MET DST)
Received: (qmail 36259 invoked from network); 17 Sep 2001 23:17:56 -0000
Received: from unknown (HELO geekster.com) ([216.254.101.188]) (envelope-sender <sprior@geekster.com>)
          by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP
          for <prolog@swi.psy.uva.nl>; 17 Sep 2001 23:17:56 -0000
Message-ID: <3BA684F3.ACF3F935@geekster.com>
Date: Mon, 17 Sep 2001 19:19:15 -0400
From: Steve Prior <sprior@geekster.com>
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: prolog@swi.psy.uva.nl
Subject: Re: [SWIPL] Getting Started with SWI
References: <200109172300.LAA328556@atlas.otago.ac.nz>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Thanks Richard and all the others who have responded.  You have all
been eager to help and that made me feel welcome.  I tried the [user].
and entered the following:

?- [user].
|: friends(X,Z):-
|: friends(X,Y),
|: friends(Y,Z).
|: friends("steve","alicja").
|: friends("alicja","tim").
^D
%user compiled 0.00 sec, 676 bytes

?- friends("steve","alicja").
ERROR: Out of local stack
Exception: (31,742) friends([115, 116, 101, 118, 101], _G404) ?

I'm using SWI-Prolog (version 4.0.9) on Windows 2000

Did I step on some kind of known problem?

Thanks
Steve


"Richard A. O'Keefe" wrote:

> Tom Breton wrote:
>
>         You need to type
>
>                 [user].
>
>         before defining rules, and ^D when you're done.
>
> Correction.  You should type *whatever* your end-of-file key is,
> at the beginning of a line with nothing else on it.
> For many people, the end-of-file key is ^Z, not ^D.
>
> Or you can use the Prolog end-of-file convention, which is to type
>         end_of_file.
> and works whatever the host's end-of-file convention might be.

