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: Sergei Steshenko
Subject: Re: equivalent for C-style init: structname varname[] = {...} ?
Date: Tue, 20 Nov 2012 17:56:46 -0800 (PST)

>________________________________
> From: Michael Goffioul <address@hidden>
>To: Judd Storrs <address@hidden> 
>Cc: Jordi Gutiérrez Hermoso <address@hidden>; Octave_post list 
><address@hidden> 
>Sent: Wednesday, November 21, 2012 12:49 AM
>Subject: Re: equivalent for C-style init: structname varname[] = {...} ?
> 
>
>On Tue, Nov 20, 2012 at 5:22 PM, Judd Storrs <address@hidden> wrote:
>
>On Tue, Nov 20, 2012 at 5:14 PM, Jordi Gutiérrez Hermoso <address@hidden> 
>wrote:
>>
>>Also, we decided to allow arbitrary strings as struct field names, but
>>>
warn about them:
>>>
>>>    http://hg.savannah.gnu.org/hgweb/octave/rev/f2b8f90052fd
>>>    http://hg.savannah.gnu.org/hgweb/octave/rev/808e4f13e220
>>
>>
>>Thank you! I think that's a great compromise.
>
>
>Given the flamewar that started because of the broadcasting issue, even though 
>the warning could be disabled or could be turned into an error (you would 
>expect it would make everyone happy, but it didn't), I'm curious whether the 
>same will happen here.
>
>
>Michael.
>
>
>_______________________________________________
>Help-octave mailing list
>address@hidden
>https://mailman.cae.wisc.edu/listinfo/help-octave
>
>


There is no need in struct field name warning - Octave code is _not_ promised 
to run on Matlab.

Regards,
  Sergei.



reply via email to

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