Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!mcsun!ukc!canon!imlah From: imlah@canon.co.uk (Bill Imlah) Newsgroups: comp.lang.prolog Subject: Re: why do i need an extra carriage return? Message-ID: <1991Apr30.140351.11000@canon.co.uk> Date: 30 Apr 91 14:03:51 GMT References: <9104262300.AA24421@thunder.LakeheadU.Ca> <1991Apr29.102537.12322@canon.co.uk> Organization: Kenny's Fish Bar (Turbot with a Smile) Lines: 25 imlah@canon.co.uk (me) writes crap: > read_line(L):- It should be: read_line(L):- get0(C), get_rest(C,L). get_rest(10,[]):- !. get_rest(C,[C|L]):- read_line(L). What an **IDIOT**. Ouch! I just burnt myself. --------------------------------------------------------- Bill Imlah imlah@canon.co.uk -- The best platform NLIs work on is the 35mm projector