🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #2061

why do i need an extra carridge return?

#2061
From: delingma
Date: Fri, 26 Apr 1991 23:00
17 lines
974 bytes
I am trying to get a function built that will terminate
after reading some stuff followed by a carridge return.
I can make it work for ANY other character, but not a CR.

By putting in cuts al over the place, I managed to
get it to almost work - but before the calling function
dies, I need one more carridge return to end off the entire
thing.
If anyone has had a problem with this, or has some sample
code to allow me to read in characters into a list that stops
after getting a carridge return, I would reall appreciate it.

ADVthanksANCE

Dan Lingman
delingma@thunder.lakeheadu.ca
Technical Details
Message-ID: <9104262300.AA24421@thunder.LakeheadU.Ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!agate!ucbvax!THUNDER.LAKEHEADU.CA!delingma

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!agate!ucbvax!THUNDER.LAKEHEADU.CA!delingma
From: delingma@THUNDER.LAKEHEADU.CA
Newsgroups: comp.lang.prolog
Subject: why do i need an extra carridge return?
Message-ID: <9104262300.AA24421@thunder.LakeheadU.Ca>
Date: 26 Apr 91 23:00:33 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 17