[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48064] for-loop over structure elements behav
From: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #48064] for-loop over structure elements behaves differently from document |
Date: |
Thu, 2 Jun 2016 00:32:06 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 |
Follow-up Comment #1, bug #48064 (project octave):
Matlab (R32013b) doesn't implement this feature, so we are not bound by
compatibility issues.
My preference would be to change the documentation to
"Either the key or val variable may be replaced by a tilde."
or perhaps allowing only "[val]", but still making the brackets mandatory.
The alternative (making brackets optional) would require run-time processing
to determine whether the RHS is a structure or an array, which would slow down
the common case for a minor syntactic advantage in the (very?) rare case.
_______________________________________________________
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 <=
- [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, 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, 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