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

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

[Octave-bug-tracker] [bug #60053] package: dependency may also be octave


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #60053] package: dependency may also be octave itself.
Date: Tue, 16 Feb 2021 04:07:14 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 Edg/88.0.705.68

Follow-up Comment #9, bug #60053 (project octave):

I'm not sure how you come to the conclusion that `OCTAVE_VERSION` is a
variable:

>> which OCTAVE_VERSION
'OCTAVE_VERSION' is a built-in function from the file
libinterp/corefcn/defaults.cc


Maybe you created a variable with the same name? You can shadow any function
with a variable of the same name:

>> version
ans = 6.1.90
>> version = 'Hello World';
>> version
version = Hello World


The documentation also is correct in stating that `version()` (without input
arguments!) is just an alias for `OCTAVE_VERSION`.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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