unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Elisp:  Simple function to Add Two Numbers
@ 2006-08-27 21:25 Edward Dodge
  2006-08-27 21:47 ` Hadron Quark
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Edward Dodge @ 2006-08-27 21:25 UTC (permalink / raw)



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    
 _`\(,_   
(_)/ (_)  ---  --- 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-08-29  0:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-27 21:25 Elisp: Simple function to Add Two Numbers Edward Dodge
2006-08-27 21:47 ` Hadron Quark
2006-08-27 21:55   ` Pascal Bourguignon
2006-08-28  1:39     ` Edward Dodge
2006-08-28  1:50       ` Barry Margolin
2006-08-29  0:18         ` Edward Dodge
2006-08-27 21:55 ` Magnus Henoch
2006-08-27 22:12 ` David Kastrup

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).