[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Very simple MCL/ACTION question
- To: info-mcl@ministry.cambridge.apple.com
 
- Subject: Very simple MCL/ACTION question
 
- From: desrosie@pat.mdc.com (Stephen Desrosiers)
 
- Date: Wed, 2 Feb 1994 18:59:59 GMT
 
- Followup-to: comp.lang.lisp.mcl
 
- Newsgroups: comp.lang.lisp.mcl
 
- Organization: McDonnell Douglas
 
- Sender: usenet@aio.jsc.nasa.gov (USENET News Client)
 
I'm having trouble writting my first MCL/ACTION program.  All I want to do
is
click on a button and have a string printed.  However, I get the
following error:
> Error: Too many arguments.
> While executing: #<CCL:STANDARD-READER-METHOD DISPLAYLIST (APPLICATION)>
Here's my code
(defclass test2 (Application) nil )
(defmethod displaylist ((test2 Test2) &rest ignore)
  (declare (ignore ignore))
  (set-value (NamedObject test2 :THEOUTPUT) (format nil  "button clicked")
t)
)
;; THEOUTPUT is the name of the TextObject I want to update
Thanks for any help.  
PS where's the FAQ?
steve desrosiers      |  These words are mine and 
desrosie@pat.mdc.com  |  not those of McDonnell Douglas