[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63160] Iterating over objects in a for-loop
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #63160] Iterating over objects in a for-loop |
Date: |
Wed, 5 Oct 2022 07:43:42 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?63160>
Summary: Iterating over objects in a for-loop
Project: GNU Octave
Submitter: gyom
Submitted: Wed 05 Oct 2022 11:43:39 AM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name: Guillaume
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 05 Oct 2022 11:43:39 AM UTC By: Guillaume <gyom>
It seems that it is not possible to iterate over the elements of a object
array in a for-loop:
++
>> for i = obj
i
endfor
error: invalid type in for loop expression near line 1, column 1
--
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63160>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63160] Iterating over objects in a for-loop,
Guillaume <=