[Top][All Lists]

[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)


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))


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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