From Lesta@t-online.de  Sun Oct 24 11:26:23 1999
Received: from mailout10.btx.dtag.de (mailout10.btx.dtag.de [194.25.2.158])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id LAA26402
	for <prolog@swi.psy.uva.nl>; Sun, 24 Oct 1999 11:26:23 +0200 (MET DST)
Received: from fwd08.btx.dtag.de ([194.25.2.168])
	by mailout10.btx.dtag.de with smtp 
	id 11fJvF-0007Ir-00; Sun, 24 Oct 1999 11:26:41 +0200
Received: from t-online.de (05121269112-0001(btxid)@[62.158.100.84]) 
	by fwd08.btx.dtag.de with smtp
	id <m11fJuz-0005EVC>; Sun, 24 Oct 1999 11:26:25 +0200
Message-ID: <3812D01A.4EC23217@t-online.de>
Date: Sun, 24 Oct 1999 11:23:38 +0200
X-Mailer: Mozilla 4.05 [de]C-DT  (Win95; I)
MIME-Version: 1.0
To: Ulle Endriss <endriss@dcs.kcl.ac.uk>
CC: prolog@swi.psy.uva.nl
Subject: Re: switching off warnings
References: <000c01bf1d7d$fc240600$7843abd4@w98> <381208B8.A5F091F9@dcs.kcl.ac.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: 05121269112-0001@t-dialin.net
From: Lesta@t-online.de (Uwe Lesta)

Ulle Endriss schrieb:
> 
> Hi,
> 
> how can I switch off the warnings I get when clauses for a predicate are not
> together in the source file?

use "discontiguous +Functor/+Arity, \ldots" for local use
section 3.13 "Declaring Properties of Predicates" of the manual.

e.g. in a program

:-discontiguous a/1.

a(1).
other_facts_or_goals.
a(2).

OR

style_check(-discontiguous). for  use for a whole file as Peter advised.

:-style_check(-discontiguous).

a(1).
other_facts_or_goals.
a(2).


-- 


Regards

Uwe
Lesta@t-online.de

