[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A bug in the new ANSI loop macro
- To: David Gadbois <gadbois@cs.utexas.edu>
- Subject: Re: A bug in the new ANSI loop macro
- From: "David J. Fiander" <davidf@mks.com>
- Date: Wed, 12 Apr 1995 13:19:00 -0400
- Cc: clisp-list@ma2s2.mathematik.uni-karlsruhe.de
- In-reply-to: Your message of "Wed, 12 Apr 1995 12:07:41 -0500." <199504121707.MAA05465@peaches.cs.utexas.edu>
> To get around the problem, you'd have to do something like:
>
> (loop for char across fmt
> do
> (incf skip)
> (case char
> (#\@ (setf at t))
> (#\: (setf colon t)))
> until (and (operatorp char)
> (setf cmd char)))
>
> Ugly, but those are the breaks.
Interestingly enough, that's exactly what I did, until I decided
to rewrite the whole function. I now use a do* form.
>
> Great title for a course: "Programming as Archaeology."
>
Hey! That's an integral part of my job. It's why I have POSIX,
SysVR3, BSD 4.3 and 4.4, and V7 manuals on my shell at work.
- David