all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: waterloo <waterloo2005@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 3752@emacsbugs.donarmstrong.com
Subject: bug#3752: 23.0.95; I can not understant a sentence in Intro to  Emacs Lisp .
Date: Sun, 5 Jul 2009 10:47:06 +0800	[thread overview]
Message-ID: <907065090907041947k6884775fk55f332c776e6858f@mail.gmail.com> (raw)
In-Reply-To: <19024.4165.105934.813448@fencepost.gnu.org>

[-- Attachment #1: Type: text/plain, Size: 650 bytes --]

when test of while is nil , it does not run `print' following it.
who  does print nil ?

or  if all function will print its return value ?

thanks

2009/7/5 Glenn Morris <rgm@gnu.org>

>
> [Please use "reply to all".]
>
> waterloo wrote (on Sun, 5 Jul 2009 at 10:13 +0800):
>
> > yes,it is clearer . thanks
> >
> > In 11.1.2 An Example:`print-elements-of-list', I can not understand why
> > there is a `nil' in the context .
>
> This is explained at the end of the section:
>
>  Since the last expression in the function is the `while' loop, and
>  since `while' loops always return `nil', a `nil' is printed after the
>  last element of the list.
>

[-- Attachment #2: Type: text/html, Size: 1036 bytes --]

  reply	other threads:[~2009-07-05  2:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-04 13:00 bug#3752: 23.0.95; I can not understant a sentence in Intro to Emacs Lisp waterloo
2009-07-04 23:11 ` Glenn Morris
2009-07-05  2:13   ` waterloo
2009-07-05  2:30     ` Glenn Morris
2009-07-05  2:47       ` waterloo [this message]
2009-07-06  0:58         ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=907065090907041947k6884775fk55f332c776e6858f@mail.gmail.com \
    --to=waterloo2005@gmail.com \
    --cc=3752@emacsbugs.donarmstrong.com \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.