[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A bug in the new ANSI loop macro
- To: David Gadbois <firstname.lastname@example.org>
- Subject: Re: A bug in the new ANSI loop macro
- From: "David J. Fiander" <email@example.com>
- Date: Wed, 12 Apr 1995 13:19:00 -0400
- Cc: firstname.lastname@example.org
- 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
> (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.