Path: 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 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