help-octave
[Top][All Lists]
Advanced

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

Re: bug in "for ()"


From: Dirk Laurie
Subject: Re: bug in "for ()"
Date: Fri, 10 Nov 2000 09:06:57 +0200

Daniel Heiserer skryf:
> 
> the following loop does not work:
> -----
> for (ii=1:5)
> end
> ------
> 
> but the following does
> -------
> for ii=1:5
> end
> --------
> 
> In matlab both variants work.
> 
This is not an Octave bug.  It is a Matlab "undocumented feature".
According to Matlab's own documentation the first version does not
conform to the syntax of a 'for' statement.

Dirk
 



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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