octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #49389] inputParser changes order of Results s


From: Rik
Subject: [Octave-bug-tracker] [bug #49389] inputParser changes order of Results structure depending on order by which parameters are assigned
Date: Thu, 20 Oct 2016 15:22:56 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #1, bug #49389 (project octave):

@Carlo: Could you run one more test in Matlab to see if it always sorts the
return values by Parameter name, or whether it uses the order in which
parameters were added to the inputParser.


ip = inputParser ();
ip.addParameter ('b', 2);
ip.addParameter ('a', 1);
ip.parse ('a', 2, 'b', 2);
ip.Results




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49389>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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