Alexander Burger <abu@software-lab.de> wrote:
+---------------
| Rob Warnock <rpw3@rpw3.org> wrote:
| > (loop for i below 5
| > for 2^i = (expt 2 i)
| > and 10^i = (expt 10 i) do
| > (htm (:tr (:td i) (:tr 2^i) (:tr 10^i))
| > (lfd))))))))
...
| > <TR><TD>0</TD><TR>1</TR><TR>1</TR></TR>
| > <TR><TD>1</TD><TR>2</TR><TR>10</TR></TR>
| > <TR><TD>2</TD><TR>4</TR><TR>100</TR></TR>
| > <TR><TD>3</TD><TR>8</TR><TR>1000</TR></TR>
| > <TR><TD>4</TD><TR>16</TR><TR>10000</TR></TR>
| > </TABLE></BODY></HTML>
|
| Hm, btw, there's something wrong with the <TR>'s
+---------------
Oops! Yup, I typo'd the sexpr:
(htm (:tr (:td i) (:tr 2^i) (:tr 10^i)) (lfd))
** **
which should have been:
(htm (:tr (:td i) (:td 2^i) (:td 10^i)) (lfd))
** **
Thanks for the catch!
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607