T O P I C R E V I E W |
deadrocker |
Posted - December 06 2005 : 11:27:28 PM Hi there
I am executing a lisp file which contains a function
;;; Actions and Tests
(defun dopopactions (regs expr hold star) (apply (lambda ,(cons 'star (cons 'hold(car regs))) ,@actions (list (list (quote ,(car regs)) (list ,@(car regs))) hold)) (cons star (cons hold (cadr regs))) ) )
Now I am getting an error as Illegal lambda list element (CONS 'STAR(CONS 'HOLD(CAR REGS))) ***-Condition of type UNDEFINED-FUNCTION
Hope to get an answer as soon as possible.
Regards, Vikram Shetty |
1 L A T E S T R E P L I E S (Newest First) |
n/a |
Posted - December 07 2005 : 09:24:51 AM deadrocker, I am far from an expert, but I have never seen commas or the @ sign used in lisp as your posted code shows. I searched the developer's guide just to be sure that it was simply something that I was unaware of. I'm pretty sure those items have to come out.
I've attached a copy of what I think the code should be. I don't know what the code accomplishes, and I don't have the proper arguments to pass to the code, so I can't test it.
Make sure you have good backups before you try the attached code, just in case it should do something "funky".
Download Attachment: dopopactions.txt 712 Bytes |
|
|