Search found 2 matches

by chang
Fri May 26, 2006 1:05 am
Forum: newLISP in the real world
Topic: (beginnerQ) format in loop
Replies: 5
Views: 4819

Thanks, m i c h a e l !

You solved my 4 hour blunder :)

Have a nice day !
by chang
Thu May 25, 2006 6:11 am
Forum: newLISP in the real world
Topic: (beginnerQ) format in loop
Replies: 5
Views: 4819

(beginnerQ) format in loop

Code: Select all

(silent)
(dolist (a '(2 4 6 8))
    (println a))

(dolist (a '(1 3 5 7))
    (format "%d" a))
When i do this, newlisp gives me this,

2
4
6
8


I thought this should be like,

2
4
6
8
"1" "3" "5" "7"

Am I missing something in lisp-way?

Sorry for a dull question.