octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unused return argument


From: John W. Eaton
Subject: unused return argument
Date: Wed, 19 Jan 2011 06:40:33 -0500

On 19-Jan-2011, Levente Torok wrote:

| Hi All,
| 
| I dont remember seeing mails around the unused return arguments
| so I suppose you haven't heard about it.
| 
| In matlab v5 one can use dummy return arguments as
| 
| [ ~, v ] = func()

I suppose we have.  From the NEWS file for the upcoming release:

 ** Matlab-style ignoring input and output function arguments using
    tilde (~) is now supported.  Ignored output arguments may be
    detected from a function using the built-in function `isargout'.
    For more details, consult the manual. 

jwe


reply via email to

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