Newsgroups: comp.lang.prolog
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!news.mathworks.com!uunet!in1.uu.net!allegra!alice!pereira
From: pereira@radish.research.att.com (Fernando Pereira)
Subject: Re: Otherwise?
In-Reply-To: skutnar@washington.occ.uc.edu's message of Mon, 13 Feb 1995 03:39:13 GMT
X-Nntp-Posting-Host: radish.research.att.com
Message-ID: <PEREIRA.95Feb16131005@radish.research.att.com>
Followup-To: comp.lang.prolog
Sender: usenet@research.att.com (netnews <9149-80593> 0112740)
Reply-To: pereira@research.att.com
Organization: AT&T Bell Laboratories
References: <D3x65E.JED@uceng.uc.edu>
Date: Thu, 16 Feb 1995 18:10:05 GMT
Lines: 21

In article <D3x65E.JED@uceng.uc.edu> skutnar@washington.occ.uc.edu (Stephen Kutnar) writes:
	   Does anyone know what the the "otherwise" statement does in Quintus?
   I assume it has something to with conditionals, but am not sure how to sub-
   stitute for its behavior in a non-Quintus environment (C-Prolog).
It's just another spelling for "true", added to make conditionals
supposedly more readable

	( p1 -> q1
	; p2 -> q2
	...
        ; otherwise -> r )

--
Fernando Pereira
2B-441, AT&T Bell Laboratories
600 Mountain Ave, PO Box 636
Murray Hill, NJ 07974-0636
pereira@research.att.com
1-908-582-3980


