🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #1855

Re: SICSTUS warning question

#1855
From: Richard A. O'Keefe
Date: Tue, 26 Feb 1991 05:19
10 lines
830 bytes
In article <2397@taurus.BITNET>, raan@TAURUS.BITNET writes:
> Does anybody know how, if at all, [undefined predicate warnings]
> can be shut off in SICSTUS Prolog?

It's in the manual.  SICStus Prolog is Edinburgh-compatible, so it
provides the Edinburgh Prolog command unknown/2.  All you have to do is
	?- unknown(_Dont_Care_What_It_Was, fail).

-- 
The purpose of advertising is to destroy the freedom of the market.
Technical Details
Message-ID: <4827@goanna.cs.rmit.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!samsung!munnari.oz.au!goanna!ok
References: <2397@taurus.BITNET>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!samsung!munnari.oz.au!goanna!ok
From: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe)
Newsgroups: comp.lang.prolog
Subject: Re: SICSTUS warning question
Message-ID: <4827@goanna.cs.rmit.oz.au>
Date: 26 Feb 91 05:19:05 GMT
References: <2397@taurus.BITNET>
Organization: Comp Sci, RMIT, Melbourne, Australia
Lines: 10