[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65841] for loop deletes variable
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #65841] for loop deletes variable |
Date: |
Wed, 5 Jun 2024 13:06:07 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?65841>
Summary: for loop deletes variable
Group: GNU Octave
Submitter: None
Submitted: Wed 05 Jun 2024 05:06:06 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 7.1.0
Discussion Lock: Any
Operating System: GNU/Linux
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 05 Jun 2024 05:06:06 PM UTC By: Anonymous
k=1;
for k=1:0
end
k
i have some code from an older version of Octave that use this structure, (the
0 in the for loop can vary from 0 and up), in the older version 4.2.2 this
code gives:
k = 1
in the newer version 7.1.0 this code gives:
k = [](1x0)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65841>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65841] for loop deletes variable,
anonymous <=