Subject: Re: CLISP - a little problem with print function
From: rpw3@rpw3.org (Rob Warnock)
Date: Sat, 09 Sep 2006 22:46:19 -0500
Newsgroups: comp.lang.lisp
Message-ID: <rLSdnQ8f57MWF57YnZ2dnUVZ_umdnZ2d@speakeasy.net>
Ken Tilton  <kentilton@gmail.com> wrote:
+---------------
| > Sergio <geiros@gmail.com> wrote:
| >> [1]> (print 'hello)
| >> HELLO
| >> HELLO
| >> [2]>
| >> I'd like to set some option in order to print only 1 line!
...
| ie, don't worry about it. :) but it is useful to understand the sequence.
+---------------

One of these examples often stimulates the needed "Aha!":
    
	> (* 2 (print 123))
	123
	246
	> (symbol-name (print 'foo))
	FOO
	"FOO"
	> 

Once the person groks those, the results of (PRINT 123)
or (PRINT 'FOO) by themselves become obvious.


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607