From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Edward Dodge Newsgroups: gmane.emacs.help Subject: Elisp: Simple function to Add Two Numbers Date: Sun, 27 Aug 2006 14:25:35 -0700 Organization: Pending Review by Mr. Travis Bickle Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156714881 32681 80.91.229.2 (27 Aug 2006 21:41:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 27 Aug 2006 21:41:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 27 23:41:20 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GHSNZ-0003ps-8a for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Aug 2006 23:41:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GHSNY-0001Hf-L5 for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Aug 2006 17:41:16 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsinpeer00.lnd.ops.eu.uu.net!bnewsinpeer00.bru.ops.eu.uu.net!emea.uu.net!spool.news.uu.net!ash.uu.net!news01.intel.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: chlr7032.ch.intel.com Original-X-Trace: news01.intel.com 1156713936 5134 10.2.146.117 (27 Aug 2006 21:25:36 GMT) Original-X-Complaints-To: usenet@news01.intel.com Original-NNTP-Posting-Date: Sun, 27 Aug 2006 21:25:36 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:9qVeSi6sQEYTaYj+aBlUS1BwgZ4= Original-Xref: shelby.stanford.edu gnu.emacs.help:141349 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36969 Archived-At: 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 _`\(,_ (_)/ (_) --- ---