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: Thu, 15 Nov 2012 17:55:08 -0500

On 15 November 2012 12:50, Sergei Steshenko <address@hidden> wrote:
> - why am I getting an error here ?
>
> Now:
>
> "
> octave:5> s = struct();
> octave:6> setfield(s, "foo bar", "doo")
> ans =
>
>   scalar structure containing the fields:
>
>     foo bar = doo
> "
>
> - no error.
>
> Tell me again how consistent struct behavior in Octave is.

Sure:

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

Fixed,
- Jordi G. H.


reply via email to

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