users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to read a line of text?


From: Vic Bancroft
Subject: Re: How to read a line of text?
Date: Wed, 7 Jan 2004 20:49:26 -0500 (EST)

On Thu, 8 Jan 2004, Ron Stodden wrote:

> gprolog does not support a 'not' operator.

Have you looked at the  \+ built-in operator ?

It does pretty much what Violetta once suggested coding as,

  not(P) :- P, !, fail ; true.

more,
l8r,
v

-- 
No bugs were harmed in the development of this software. 

http://elvis.dlogic.org/~bancroft/tiki





reply via email to

[Prev in Thread] Current Thread [Next in Thread]