home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / lisp / 2221 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.1 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!mips!think.com!barmar
  2. From: barmar@think.com (Barry Margolin)
  3. Newsgroups: comp.lang.lisp
  4. Subject: Re: "Next-iteration" clause in Loop macro?
  5. Message-ID: <16foosINN7mc@early-bird.think.com>
  6. Date: 14 Aug 92 07:53:00 GMT
  7. References: <16eujtINNhma@agate.berkeley.edu>
  8. Organization: Thinking Machines Corporation, Cambridge MA, USA
  9. Lines: 19
  10. NNTP-Posting-Host: gandalf.think.com
  11.  
  12. In article <16eujtINNhma@agate.berkeley.edu> konstan@cs.berkeley.edu (Joe Konstan) writes:
  13. >Is there a clause or macro within loop to cause execution to continue 
  14. >at the next iteration?  
  15.  
  16. I don't think so.  There's a macro to terminate the entire loop,
  17. LOOP-FINISH.
  18.  
  19. >             If not, is adding a label at the start of the 
  20. >loop-body and "go"ing there guaranteed to work--or might that not properly
  21. >execute the loop stepping code (which would mean that I need to instead
  22. >go to the bottom of the loop).  
  23.  
  24. It's not going to work at all, since you can't put GO tags in loop bodies.
  25. Symbols are treated as LOOP keywords, not tags.
  26. -- 
  27. Barry Margolin
  28. System Manager, Thinking Machines Corp.
  29.  
  30. barmar@think.com          {uunet,harvard}!think!barmar
  31.