[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
built-in variable i
From: |
John W. Eaton |
Subject: |
built-in variable i |
Date: |
Wed, 13 Aug 2008 10:01:24 -0400 |
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