From help-request at octave dot org Wed Dec 22 15:16:39 2004 Subject: Variable num args. question From: "D Goel" To: help at octave dot org Date: Wed, 22 Dec 2004 16:18:28 -0500 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 -------------------------------------------------------------