Re: instantiation fault in compile(File)

From: Kish Shen <ks15_at_icparc.ic.ac.uk>
Date: Tue 15 Apr 2003 02:25:34 PM GMT
Message-Id: <E195RNO-0004ea-00@holborn.icparc.ic.ac.uk>
Dan,

In Prolog, a variable is denoted by starting it with a capital letter.
Thus Interpreter is a variable, and so

>[eclipse]: [Interpreter].

gives you an instantiation fault.

If you have a file named Interpreter, you should enclose it in quotes
(either double or single), e.g.

["Interpreter"]

This should compile your program correctly.

Cheers,

Kish
Received on Tue Apr 15 14:20:32 2003

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:23 PM GMT GMT