octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #59125] v = ver('Octave') missing release date


From: Guillaume
Subject: [Octave-bug-tracker] [bug #59125] v = ver('Octave') missing release date
Date: Thu, 17 Sep 2020 17:42:12 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #10, bug #59125 (project octave):

I agree with your take on OO programming...

I wonder if the choice of a class is driven by Matlab limitation to
chain-index functions' output.


octave> v = ver().Name
v = Octave
octave> v = ver.Name
v = Octave


vs


>> v = ver().Name
v =
    'MATLAB'
>> v = ver.Name
Unable to resolve the name ver.Name.


With a class, it will just be accessing properties.

Just for fun, ver().Date is '29-Jul-2020' and matlabRelease.Date is
26-Aug-2020 (as a datetime object). The other properties of matlabRelease are
of the string class - we are going to see more and more of these.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59125>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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