40 lines
2.1 KiB
HTML
40 lines
2.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
|
|
<!Converted with LaTeX2HTML 0.6.5 (Tue Nov 15 1994) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds >
|
|
<HEAD>
|
|
<TITLE>26.1. Introduction</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<meta name="description" value=" Introduction">
|
|
<meta name="keywords" value="clm">
|
|
<meta name="resource-type" value="document">
|
|
<meta name="distribution" value="global">
|
|
<P>
|
|
<b>Common Lisp the Language, 2nd Edition</b>
|
|
<BR> <HR><A NAME=tex2html4519 HREF="node237.html"><IMG ALIGN=BOTTOM ALT="next" SRC="icons/next_motif.gif"></A> <A NAME=tex2html4517 HREF="node235.html"><IMG ALIGN=BOTTOM ALT="up" SRC="icons/up_motif.gif"></A> <A NAME=tex2html4511 HREF="node235.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="icons/previous_motif.gif"></A> <A NAME=tex2html4521 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="icons/contents_motif.gif"></A> <A NAME=tex2html4522 HREF="index.html"><IMG ALIGN=BOTTOM ALT="index" SRC="icons/index_motif.gif"></A> <BR>
|
|
<B> Next:</B> <A NAME=tex2html4520 HREF="node237.html"> How the Loop </A>
|
|
<B>Up:</B> <A NAME=tex2html4518 HREF="node235.html"> Loop</A>
|
|
<B> Previous:</B> <A NAME=tex2html4512 HREF="node235.html"> Loop</A>
|
|
<HR> <P>
|
|
<H1><A NAME=SECTION003010000000000000000>26.1. Introduction</A></H1>
|
|
<P>
|
|
<img align=bottom alt="change_begin" src="gif/change_begin.gif"><br>
|
|
A <i>loop</i> is a series of expressions that are executed one or more times,
|
|
a process known as <i>iteration</i>.
|
|
The <i>Loop Facility</i> defines a
|
|
variety of useful methods, indicated by
|
|
<i>loop keywords</i>, to iterate and to
|
|
accumulate values in a loop.
|
|
<P>
|
|
Loop keywords are not true Common Lisp keywords; they are symbols that
|
|
are recognized by the Loop Facility and that provide such capabilities
|
|
as controlling the direction of iteration, accumulating values inside
|
|
the body of a loop, and evaluating expressions that precede or follow
|
|
the loop body. If you do not use any loop keywords, the Loop Facility
|
|
simply executes the loop body repeatedly.
|
|
<br><img align=bottom alt="change_end" src="gif/change_end.gif">
|
|
<P>
|
|
<HR>
|
|
<P><ADDRESS>
|
|
AI.Repository@cs.cmu.edu
|
|
</ADDRESS>
|
|
</BODY>
|