Try this at home:
#+begin_src lisp :results output :exports both
(dotimes (i 4)
(format t "~3d " i))
#+end_src
#+RESULTS:
: 0 1 2 3
#+name:
#+begin_src lisp :exports both
(defun multabl ()
(dotimes (x 20)
(dotimes (y 20)
(format t "~3d " (* (1+ x) (1+ y))))
(format t "~%")))
#+end_src
#+name:
#+begin_src lisp :exports both
(defun dt-test ()
(let ((y 0))
(dotimes (x 5 y)
(format t "~3d " y))))
#+end_src
What I get when I export to HTML is bizarre, i.e., the results of the first code block don't appear, rather, the name of the last function! If I put the last two blocks between #+BEGIN_COMMENT and #+END_COMMENT, it behaves normally and shows the results.
Am I missing something?
LB