Subject: Re: switching off warnings

From: [email-masked] (Uwe Lesta)
Date: Sun, 24 Oct 1999 11:23:38 +0200

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
[email-masked]