Search found 2 matches

by felmor
Thu Feb 02, 2012 8:18 pm
Forum: Common Lisp
Topic: Too few arguments, whats wrong with my code?
Replies: 2
Views: 4806

Re: Too few arguments, whats wrong with my code?

funny when I realized that I can make this one simple. lol (defun noun() (print "Enter First Sentence:") (setq n(read)) (print "Enter Second Setence:") (setq m(read)) (cond ((equal (n m) (print "equal") )) ((print "not equal")) I'm gonna make this display the ...
by felmor
Wed Feb 01, 2012 9:13 pm
Forum: Common Lisp
Topic: Too few arguments, whats wrong with my code?
Replies: 2
Views: 4806

Too few arguments, whats wrong with my code?

hi, im new here.. I just have a difficulty on debugging my code.. (defun noun() (print "Enter First Sentence:") (setq n(read)) (print "Enter Second Setence:") (setq m(read)) (cond ((equal (nth '0 '(n)) (nth '0 '(m)) (print "equal") )) ((print "not equal")) )) ...