[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Deprecate nfields function?
From: |
Daniel J Sebald |
Subject: |
Re: Deprecate nfields function? |
Date: |
Sat, 01 Mar 2014 15:13:55 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 |
On 03/01/2014 02:33 PM, Daniel J Sebald wrote:
octave-cli:31> rmfield(foo(2), 'f2')
ans =
scalar structure containing the fields:
f1 = xyz
...
The "bug" is that removing the field in the second last command suggests
that field 'f2' has been removed from the second element of the
structure array when in fact that might not be a valid thing to do.
Wait, that's not a bug. There's no assignment. Sorry.
Dan
Re: Deprecate nfields function?, Carnë Draug, 2014/03/01