[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65841] for loop deletes variable
From: |
Dmitri A. Sergatskov |
Subject: |
[Octave-bug-tracker] [bug #65841] for loop deletes variable |
Date: |
Wed, 5 Jun 2024 13:49:58 -0400 (EDT) |
Follow-up Comment #1, bug #65841 (group octave):
The loop does not delete veriable but overwrites it (as expected):
octave:7> k = 1
k = 1
octave:8> k = 1:0
k = [](1x0)
octave:9> for k = 1:10 ; endfor
octave:10> k
k = 10
So it looks like it was a bug in 4.2.2 and it was fixed in later versions.
Dmitri.
--
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65841>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/