help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: equivalent for C-style init: structname varname[] = {...} ?


From: Jordi Gutiérrez Hermoso
Subject: Re: equivalent for C-style init: structname varname[] = {...} ?
Date: Sun, 18 Nov 2012 20:53:52 -0500

On 18 November 2012 15:19, Sergei Steshenko <address@hidden> wrote:
>> "The fieldnames in a struct are subject to the same constraints that
>> variable names are" - no they are not:

There was a bug that allowed them to be set to anything with setfield
and getfield. I have already fixed this bug:

    http://hg.savannah.gnu.org/hgweb/octave/rev/126285fce876

- Jordi G. H.


reply via email to

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