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

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

[Octave-bug-tracker] [bug #61521] help syntax for class objects is not f


From: Rik
Subject: [Octave-bug-tracker] [bug #61521] help syntax for class objects is not fully Matlab compatible
Date: Sun, 21 Nov 2021 21:50:14 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36

Follow-up Comment #1, bug #61521 (project octave):

Another incorrect behavior is that if the method name is the same as a regular
function then the class is ignored and help from the regular function is
returned.  For example, inputParser has a delete method.  Executing


help inputParser.delete
'inputParser.delete' is a function from the file
/home/rik/wip/Projects_Mine/octave-dev/scripts/miscellaneous/delete.m

 -- delete (FILE)
 -- delete (FILE1, FILE2, ...)
 -- delete (HANDLE)
     Delete the named file or graphics handle.

     FILE may contain globbing patterns such as '*'.  Multiple files to
     be deleted may be specified in the same function call.

     HANDLE may be a scalar or vector of graphic handles to delete.

     Programming Note: Deleting graphics objects is the proper way to
     remove features from a plot without clearing the entire figure.

     See also: clf, cla, unlink, rmdir.


which shows that the help text is coming from the wrong file.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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