built-in variable i
John W. Eaton
jwe at bevo.che.wisc.edu
Wed Aug 13 09:01:24 CDT 2008
On 13-Aug-2008, Bart Vandewoestyne wrote:
| I often have i as the index for my for-loops, and then i often use this
| index i in my functions. Unfortunately, it gets interpreted as sqrt(-1)
| which is not what I want. Is there a way to prevent this in Octave 2.1.69
| (it would be nice if i could get my code running on 2.1.69 without having
| to change all the indexes in my for-loops...)
Why? 2.1.69 is obsolete and quite old. It had some bugs, like this.
Some were fixed. 2.9.12 is also obsolete and fairly old and had some
bugs, some of which were fixed. I'd recommend upgrading to the
current stable version, 3.0.1.
jwe
More information about the Help-octave
mailing list