[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63104] exist fails to query +package function
From: |
Ray Zimmerman |
Subject: |
[Octave-bug-tracker] [bug #63104] exist fails to query +package functions (such as containers.Map) |
Date: |
Tue, 22 Nov 2022 13:42:55 -0500 (EST) |
Follow-up Comment #2, bug #63104 (project octave):
Also, for a class named *myClass* in a package *myPkg*, that is, defined in
the file *+myPkg/myClass.m* we have the following with Octave 7.3 on Ubuntu.
exist('myPkg.myClass')
Incorrect. Octave returns 0. MATLAB returns 8.
exist('+myPkg/myClass')
Incorrect. Octave returns 0. MATLAB returns 2.
exist('+myPkg/myClass.m')
Correct. Octave returns 2. MATLAB returns 2.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63104>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #63104] exist fails to query +package functions (such as containers.Map),
Ray Zimmerman <=