home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / prolog / 1540 < prev    next >
Encoding:
Text File  |  1992-08-16  |  880 b   |  27 lines

  1. Newsgroups: comp.lang.prolog
  2. Path: sparky!uunet!gossip.pyramid.com!aquila.sni-usa.com!news.sni.de!uranium!nebula!hermann
  3. From: hermann@nebula.sni.de (Hermann)
  4. Subject: Re: Help on problem needed!
  5. Sender: news@nixpbe.sni.de (Martin Boening)
  6. Message-ID: <hermann.714030202@nebula>
  7. Date: Mon, 17 Aug 1992 05:43:22 GMT
  8. References: <meskes.713709771@ulysses>
  9. Nntp-Posting-Host: nebula.sto.pdb.sni.de
  10. Organization: Siemens Nixdorf Info.Sys. AG, Paderborn, Germany
  11. Keywords: help
  12. Lines: 13
  13.  
  14. Try this one
  15.  
  16.     b(X,Y,0) :-
  17.         a(X,Y,0).
  18.  
  19.     b(X,Y,1) :-
  20.         not a(X,Y,0),
  21.         a(X,Y,1).
  22. --
  23. +===========================================================================+
  24. |Hermann Schultebeyring            |Tel. ++49 (0)5251 8-31863               |
  25. |SNI AG                            |Fax: ++49 (0)5251 8-31869               |
  26. |AI Centre AP333                   |Email:    schultebeyring.pad@sni.de     |
  27.