[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #42111] ans = [] for input()
From: |
Markus Appel |
Subject: |
[Octave-bug-tracker] [bug #42111] ans = [] for input() |
Date: |
Tue, 15 Apr 2014 10:33:41 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 |
Follow-up Comment #1, bug #42111 (project octave):
FYI:
>> [a b] = input('Give me nargout=2: ')
Give me nargout=2: deal(1,2)
a =
1
b =
2
works in Matlab 2012b and Octave 3.8.0. I did not try out your patch, but
nargout>1 should be kept working.
By the way: Contrary to the behavior above, the documentation in 3.8.0 still
states that "Currently, `input' only returns one value, regardless of the
number of values produced by the evaluation of the expression."
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42111>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/