From help-octave-request at bevo dot che dot wisc dot edu Fri Apr 6 02:26:15 2001 Subject: Re: return values in functions From: Etienne Grossmann To: help-octave at bevo dot che dot wisc dot edu, j.e.drews@worldnet.att.net Date: Fri, 6 Apr 2001 08:28:12 GMT Do z = g(2,3); or foo = g(2,3); the name of the variable that will hold the result depends on how the function *call* is written; not how the function *definition* is written. Etienne ------------------------------------------------------------- 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 -------------------------------------------------------------