On Sun, Jul 19, 2009 at 07:04:46PM +0200, Søren Hauberg wrote: > søn, 19 07 2009 kl. 18:48 +0200, skrev Thomas Weber: > > see below: > > ==================================================================================== > > octave3.2:1> help vrml_DirectionalLight > > parse error near line 45 of file > > /root/temp/vrml-1.0.10/inst/vrml_DirectionalLight.m > > I checked in the following patch > > =================================================================== > --- vrml_DirectionalLight.m (revision 6022) > +++ vrml_DirectionalLight.m (working copy) > @@ -42,8 +42,8 @@ > end > > body = [body,\ > - sprintf (" %-20s %s\n",key, > - sprintf (getfield (tpl,key), val))]; > + sprintf(" %-20s %s\n",key, > + sprintf(getfield (tpl,key), val))]; > end > end > s = sprintf ("DirectionalLight { \n%s}\n", body);
Ah, that explains. I played with the arguments of the sprintf() calls and didn't realize that the spaces are the problem. Thanks Thomas ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev