help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Elisp: Simple function to Add Two Numbers


From: Edward Dodge
Subject: Elisp: Simple function to Add Two Numbers
Date: Sun, 27 Aug 2006 14:25:35 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Please,

Why do I get "wrong number of arguments" every time I try to run this simple,
straight-forward code?

(defun ekd-average (jabba wabba)
  "Adds two numbers and returns the sum."
  (interactive "nFirstvar: \nn Secondvar: \nr")
     ( + jabba wabba))


-- 
Edward Dodge
          
   __o    
 _`\(,_   
(_)/ (_)  ---  --- 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]