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

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

[Octave-bug-tracker] [bug #65220] get_help_text returns docstring from p


From: Andreas Bertsatos
Subject: [Octave-bug-tracker] [bug #65220] get_help_text returns docstring from parent methods
Date: Fri, 2 Feb 2024 12:07:50 -0500 (EST)

Follow-up Comment #45, bug#65220 (group octave):

MATLAB behaves likes this:

both files 

function out = somefn(in)
  % documentation

end

function out = somefn(in)
  
  % documentation

end

return

>> help somefn
  documentation

>>>


but the files

function out = somefn(in)
 %

  % documentation

end

function out = somefn(in)
 %%

  %% documentation

end

return

>> help somefn
somefn is a function.
    out = somefn(in)

>>>


Apparently, an empty comment line followed by an empty line results in muting
any further comment block returned as documentation


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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