From: <car...@us...> - 2012-04-13 09:44:41
|
Revision: 10207 http://octave.svn.sourceforge.net/octave/?rev=10207&view=rev Author: carandraug Date: 2012-04-13 09:44:31 +0000 (Fri, 13 Apr 2012) Log Message: ----------- vrml: removal of deprecated function nth Modified Paths: -------------- trunk/octave-forge/main/vrml/inst/save_vrml.m trunk/octave-forge/main/vrml/inst/vrml_frame.m Modified: trunk/octave-forge/main/vrml/inst/save_vrml.m =================================================================== --- trunk/octave-forge/main/vrml/inst/save_vrml.m 2012-04-13 09:28:27 UTC (rev 10206) +++ trunk/octave-forge/main/vrml/inst/save_vrml.m 2012-04-13 09:44:31 UTC (rev 10207) @@ -75,7 +75,7 @@ args = nargin; # nargin is now a function while --args, - tmp = nth (varargin, i++); + tmp = varargin{i++}; if strcmp (tmp, "nobg"), bg_node = ""; elseif strcmp (tmp, "nolight"), @@ -111,7 +111,7 @@ if verbose, printf ("save_vrml : %i'th string\n",i); end - fprintf (fid,"%s", nth (varargin, i)) ; + fprintf (fid,"%s", varargin{i}) ; i++ ; end Modified: trunk/octave-forge/main/vrml/inst/vrml_frame.m =================================================================== --- trunk/octave-forge/main/vrml/inst/vrml_frame.m 2012-04-13 09:28:27 UTC (rev 10206) +++ trunk/octave-forge/main/vrml/inst/vrml_frame.m 2012-04-13 09:44:31 UTC (rev 10207) @@ -48,7 +48,7 @@ while args && numeric_args<2, - tmp = nth (varargin, numeric_args + 1); + tmp = varargin{numeric_args + 1}; if ischar (tmp), break; end --args; numeric_args++; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |