[Top][All Lists]

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

[Octave-bug-tracker] [bug #62697] What wizardry is this

From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #62697] What wizardry is this
Date: Sun, 3 Jul 2022 00:47:32 -0400 (EDT)

Follow-up Comment #2, bug #62697 (project octave):

i and j have values equal to the unit imaginary number when they aren't
defined as variables. When you use a or k, the for loop applies the value to a
or k, you call that value and it displays as 1, you clear that variable, then
call it again, but because you cleared it you get an error because it no
longer exists 

When you do the same with I or j, clearing it return the variable to the
original hit imaginary value, and that's what it displays. Without any error
occurring, the next loop iteration begins, octave assigns 2 to i or j, and the
cycle continues.

All of this seems to be as I would expect.


Reply to this item at:


Message sent via Savannah

reply via email to

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