octave-maintainers
[Top][All Lists]
Advanced

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

Re: [GSoC] JSON Test suite status


From: Andreas Weber
Subject: Re: [GSoC] JSON Test suite status
Date: Mon, 22 Jun 2020 13:37:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

Am 22.06.20 um 11:30 schrieb Abdallah Elshamy:
> a.("123foo")    or     a.("foo bar")

you also create it this way. Kais example:
octave:3> my_struct.("2bad_fieldname") = 4
my_struct =
  scalar structure containing the fields:
    2bad_fieldname = 4

> I think this is not a common way to access structs so it may be better
> to use makeValidName despite it is not necessary to call it to create
> structs in Octave unlike MATLAB. What do you think?

I think the goal for most users will be, that the code written for the
other software also works on GNU Octave. So I would suggest to use the
same "renaming" conventions.

-- Andy



reply via email to

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