Search found 1 match

by mollens
Sun Mar 13, 2011 3:18 pm
Forum: Common Lisp
Topic: a very simple function
Replies: 3
Views: 5605

a very simple function

Hi, I'm really new at the lisp and I need your help. I have got a list (setq S '(5 6 4 2)) When I call some function which looks like (defun add (S N) (...) ) where S is the list and the N is a number. This number(N) I want to add at the end of the list. The result should be (5 6 4 2 N). For example...