[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48064] for-loop over structure elements behav
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #48064] for-loop over structure elements behaves differently from document |
Date: |
Thu, 2 Jun 2016 13:12:24 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.8.0 |
Follow-up Comment #3, bug #48064 (project octave):
I agree with you all.
a straightforward for loop with a struct array on the right hand side should
iterate over the array (e.g. x(1), x(2), x(3), ...), not the struct key (e.g.
x.a, x.b, x.c, ...).
Because if not so, there would be no way to distinguish which to iterate over.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48064>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #48064] for-loop over structure elements behaves differently from document, Lachlan Andrew, 2016/06/01
- [Octave-bug-tracker] [bug #48064] for-loop over structure elements behaves differently from document, Lachlan Andrew, 2016/06/01
- [Octave-bug-tracker] [bug #48064] for-loop over structure elements behaves differently from document, Mike Miller, 2016/06/01
- [Octave-bug-tracker] [bug #48064] for-loop over structure elements behaves differently from document,
anonymous <=
- [Octave-bug-tracker] [bug #48064] for-loop over structure elements behaves differently from document, anonymous, 2016/06/02
- [Octave-bug-tracker] [bug #48064] for-loop over structure elements behaves differently from document, anonymous, 2016/06/02
- [Octave-bug-tracker] [bug #48064] for-loop over structure elements behaves differently from document, Lachlan Andrew, 2016/06/02
- [Octave-bug-tracker] [bug #48064] for-loop over structure elements behaves differently from document, John W. Eaton, 2016/06/03
- [Octave-bug-tracker] [bug #48064] for-loop over structure elements behaves differently from document, Lachlan Andrew, 2016/06/04
- [Octave-bug-tracker] [bug #48064] for-loop over structure elements behaves differently from document, Mike Miller, 2016/06/16
- [Octave-bug-tracker] [bug #48064] for-loop over structure elements behaves differently from document, Lachlan Andrew, 2016/06/16