From: Bull Horse
Subject: To Barry Margolin
Date: 
Message-ID: <327C9CB1.5249@earthlink.net>
Thanks for the tip except it still sticks nil on the screen.
Hell I've got the basic structure of the language down except for this.

PS: what other control structures are there that ignore the return 
value??

Thanx again :-0
From: Barry Margolin
Subject: Re: To Barry Margolin
Date: 
Message-ID: <55kh3l$8r9@poblano.near.net>
In article <·············@earthlink.net>,
Bull Horse  <···@earthlink.net> wrote:
>Thanks for the tip except it still sticks nil on the screen.

I assume this is referring to the question about not displaying return
values of forms you type in the top-level loop.  Why did you change the
subject of the thread?

>Hell I've got the basic structure of the language down except for this.

This isn't really part of he "language", it's part of the user interface to
the interpreter.

You could always write your own top-level loop:

(defun my-top-level ()
  (loop (princ "> ") (eval (read))))

To work really well you need to put some error handling around the (eval
(read)).

>PS: what other control structures are there that ignore the return 
>value??

Any of the forms that are specified as having a "body" can be used like
PROGN in my example.  Some others are BLOCK, TAGBODY, and LET.
-- 
Barry Margolin
BBN Planet, Cambridge, MA
······@bbnplanet.com -  Phone (617) 873-3126 - Fax (617) 873-5508
(BBN customers, please call (800) 632-7638 option 1 for support)