Search found 2 matches
- Fri Jun 06, 2003 4:07 am
- Forum: newLISP in the real world
- Topic: elp with Newlisp
- Replies: 1
- Views: 3792
elp with Newlisp
Hi, I got a code that works fine on Lisp, but I can't make it work on Newlisp, I am very new to this language. Here is the code for Lisp (defun mymax (nums) (cond ((= (length nums) 1) (car nums)) ((> (car nums) (cadr nums)) (mymax (cons (car nums) (cddr nums)))) (t (mymax (cdr nums))))) I'd like to ...
- Fri Jun 06, 2003 4:05 am
- Forum: newLISP newS
- Topic: Help with Newlisp
- Replies: 1
- Views: 4242
Help with Newlisp
Hi, I got a code that works fine on Lisp, but I can't make it work on Newlisp, I am very new to this language. Here is the code for Lisp (defun mymax (nums) (cond ((= (length nums) 1) (car nums)) ((> (car nums) (cadr nums)) (mymax (cons (car nums) (cddr nums)))) (t (mymax (cdr nums))))) I'd like to ...