|
From: | Michael D. Godfrey |
Subject: | Re: Idea: Extension of function / return syntax. |
Date: | Mon, 07 Jan 2013 13:05:13 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 01/07/2013 12:24 PM, Jordi Gutiérrez Hermoso wrote:
New syntax is a very delicate matter... The multiple return arguments of Matlab that we have to keep in Octave are very problematic: https://abandonmatlab.wordpress.com/2010/05/28/multiple-output-arguments/ If nargout should ignore the new syntax and just work as it is, this is probably easiest, but I bet someone will think that this is the wrong choice. - Jordi G. H.
I agree that syntax changes are problematic, and Matlab compatibility makes it worse. Do you think that something like making "ans" global is of any use? mg
[Prev in Thread] | Current Thread | [Next in Thread] |