Article View: comp.lang.prolog
Article #1512Re: a question about read
From: Fernando Pereira
Date: Tue, 29 Sep 1992 17:53
Date: Tue, 29 Sep 1992 17:53
15 lines
1268 bytes
1268 bytes
In article <290992115341@brady.cs.tcd.ie> brady@cs.tcd.ie (Michael Brady) writes: >3. Can anyone remember what DEC10 Prolog did? If memory serves, the >behaviour of get/1 and read/1 were different in this regard. Unfortunately I no longer have access to a DEC-10, and the DEC-10 Prolog sources are sitting on a tape that would be a hassle to restore, but according to the manual and my recollection both read(X) and get(C) advance the input appropriately and try to unify the object scanned with their argument. If the unification fails, the advancing of the input stream is not undone, but the calls fail. Fernando Pereira 2D-447, AT&T Bell Laboratories 600 Mountain Ave, PO Box 636 Murray Hill, NJ 07974-0636 pereira@research.att.com
Technical Details
Message-ID:
<23753@alice.att.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!pmafire!mica.inel.gov!ux1!news.byu.edu!eff!sol.ctr.columbia.edu!caen!uwm.edu!linac!att!att!allegra!alice!pereiraReferences:
<10468@uqcspe.cs.uq.oz.au> <14755@goanna.cs.rmit.oz.au> <290992115341@brady.cs.tcd.ie>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pmafire!mica.inel.gov!ux1!news.byu.edu!eff!sol.ctr.columbia.edu!caen!uwm.edu!linac!att!att!allegra!alice!pereira From: pereira@alice.att.com (Fernando Pereira) Newsgroups: comp.lang.prolog Subject: Re: a question about read Message-ID: <23753@alice.att.com> Date: 29 Sep 92 17:53:15 GMT Article-I.D.: alice.23753 References: <10468@uqcspe.cs.uq.oz.au> <14755@goanna.cs.rmit.oz.au> <290992115341@brady.cs.tcd.ie> Reply-To: pereira@alice.UUCP () Organization: AT&T, Bell Labs Lines: 18