From: <car...@us...> - 2012-05-14 07:35:51
|
Revision: 10432 http://octave.svn.sourceforge.net/octave/?rev=10432&view=rev Author: carandraug Date: 2012-05-14 07:35:40 +0000 (Mon, 14 May 2012) Log Message: ----------- inputParser: add note about small bug that needs to be fixed Modified Paths: -------------- trunk/octave-forge/main/general/inst/@inputParser/subsref.m Modified: trunk/octave-forge/main/general/inst/@inputParser/subsref.m =================================================================== --- trunk/octave-forge/main/general/inst/@inputParser/subsref.m 2012-05-14 07:19:05 UTC (rev 10431) +++ trunk/octave-forge/main/general/inst/@inputParser/subsref.m 2012-05-14 07:35:40 UTC (rev 10432) @@ -44,6 +44,12 @@ error ("invalid index for reference of class %s", class (inPar) ); endswitch + ## TODO we should make inPar an object of the inputParser class again. At + ## least after running parse it becomes just a structure again. While that is + ## bad, at least allows for easy access to the Results and Unmatched fields + ## without extra coding. +# inPar = class (inPar, 'inputParser'); + endfunction function out = retrieve_results (inPar, idx) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |