octave-bug-tracker
[Top][All Lists]
Advanced

[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: Sat, 4 Jun 2016 13:11:55 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Update of bug #48064 (project octave):

                  Status:               Confirmed => Patch Submitted        

    _______________________________________________________

Follow-up Comment #8:

I think that it currently does iterate over columns, as shown below.


>> a.foo = 1;
>> a(3,3).bar = 2;
>> for b = a
b
end
b =

  3x1 struct array containing the fields:

    foo
    bar

b =

  3x1 struct array containing the fields:

    foo
    bar

b =

  3x1 struct array containing the fields:

    foo
    bar


It seems to be only the documentation that needs updating.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48064>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]