[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:46:54 -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 |
URL:
<https://savannah.gnu.org/bugs/?61521>
Summary: help syntax for class objects is not fully Matlab
compatible
Project: GNU Octave
Submitted by: rik5
Submitted on: Sun 21 Nov 2021 06:46:52 PM PST
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
The most generic syntax
help methodname
does not work for old-style classes (@class) or new-style classes (classdef).
In Matlab, the syntax above will search both regular help and class help
files. For example,
help parse
will return help from inputParser.parse.
Dot notation works for new-style classes, but not for old-style classes.
Syntax:
help class.method
Example:
help inputParser.parse
Slash notation does not work for new-style or old-style classes
Syntax:
help class/method
Examples:
help inputParser/parse
help ftp/dir
But extended slash notation does work for old style-classes.
Syntax:
help @class/method
Example:
help @ftp/dir
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61521>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61521] help syntax for class objects is not fully Matlab compatible,
Rik <=