The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.lisp
From: Jochen Schmidt <kid_stea...@gmx.de>
Date: 2000/06/22
Subject: Re: Newbie asking for help
The Glauber wrote: It works for me in cmucl (warning on the nondefined variable "nlines") > ;; count number of lines in file key.html > (with-open-file (ifile "key.html" :direction :input) > (setf nlines 0) > (loop > (if (read-line ifile nil) > (setf nlines (+ 1 nlines)) > (return nlines)))) > It doesn't work (it just hangs, so i think it's stuck in the loop). I > I'm sorry for posting something so stupid, but why doesn't this work? It works in Allegro Trial Edition 5.0.1 for Linux (without warnings) It works in Lispworks Personal Edition 4.1.18 (without warnings) But it seems NOT to work with clisp !!! (as the former author noted, it blocks) have not looked further into it, but I found this interesting enough to -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||