[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

recursive count down



I am trying to write a function that performs a count-down operation.  I have
coded the following using standard textbook material:

(defun Count-down (number)
      (cond ((= number 0) nil)
            (t (print number) (Count-down (- num 1)))))

Running the above with **(Count-down 4)** results in **0 is not a sequence**

If anyone knows what is wrong with the code please let me know.
I can be reached also at jamila@jamila.gsfc.nasa.gov

THANX!!!

Keywords: