home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!gateway
- From: ptw@riverside.scrc.symbolics.com (P. T. Withington)
- Newsgroups: comp.lang.lisp
- Subject: Re: "Next-iteration" clause in Loop macro?
- Message-ID: <19920814141322.6.PTW@SAPPHO.Myteline.Symbolics.COM>
- Date: 14 Aug 92 14:23:15 GMT
- References: <16foosINN7mc@early-bird.think.com>
- Sender: news@mintaka.lcs.mit.edu
- Organization: LCS news/mail gateway
- Lines: 28
- X-Unparseable-Date: Fri
-
-
- Date: Fri, 14 Aug 1992 03:53 EDT
- From: Barry Margolin <barmar@think.com>
-
- In article <16eujtINNhma@agate.berkeley.edu> konstan@cs.berkeley.edu (Joe Konstan) writes:
- >Is there a clause or macro within loop to cause execution to continue
- >at the next iteration?
-
- I don't think so. There's a macro to terminate the entire loop,
- LOOP-FINISH.
-
- Gee, I could've sworn there was a LOOP-CONTINUE macro in some LOOP
- dialect; but I can't find it in any I have references on. Perhaps I
- dreamt it. I can't think of a case where I couldn't get by without it,
- but there are certainly times I wished I had it!
-
- > If not, is adding a label at the start of the
- >loop-body and "go"ing there guaranteed to work--or might that not properly
- >execute the loop stepping code (which would mean that I need to instead
- >go to the bottom of the loop).
-
- It's not going to work at all, since you can't put GO tags in loop bodies.
- Symbols are treated as LOOP keywords, not tags.
- --
- Barry Margolin
- System Manager, Thinking Machines Corp.
-
- barmar@think.com {uunet,harvard}!think!barmar
-