[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Variable num args. question
From: |
D Goel |
Subject: |
Variable num args. question |
Date: |
Wed, 22 Dec 2004 16:18:28 -0500 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) |
hi,
Inside function f1, how do i make a call to f2 with all the arguments
that f1 was given? with the num. of arguments being variable?
The lisp equivalent being:
(defun f1 (&rest args)
(some work ...)
(apply 'f2 args))
DG http://gnufans.net/
--
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Variable num args. question,
D Goel <=