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: Ben Abbott
Subject: Re: equivalent for C-style init: structname varname[] = {...} ?
Date: Tue, 20 Nov 2012 21:11:58 -0500

On Nov 20, 2012, at 5:14 PM, Jordi Gutiérrez Hermoso wrote:

> On 20 November 2012 16:48, Francesco Potortì <address@hidden> wrote:
>>>> Having Octave barf on something on which Matlab barfs is a definite
>>>> plus.
>>> 
>>> What, you mean like barf on "endif" and "endfor" and double quotes?
>> 
>> I think that --traditional does it, doesn't it?
> 
> No, that command-line argument only affects superficial cosmetic
> changes. There is "warning on Octave:matlab-incompatible", but note
> bug #36743:
> 
>    https://savannah.gnu.org/bugs/?36743
> 
> 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
> 
> - Jordi G. H.

nice!

Ben



reply via email to

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