Re: Worth to mention in Octave 6 NEWS, support for private in namespaces?

Mike Miller <[email protected]>
Newsgroups gmane.comp.gnu.octave.maintainers
Message-ID <[email protected]>
On Wed, Apr 29, 2020 at 20:25:58 +0200, Julien Bect wrote:
> 1) Does Octave officially support these "namespaces" (directories starting
> with a "+") ?

Yes, since version 4.0. It was implemented as part of "classdef"
support, which was mentioned in the release news file.

> I know that the functionality has been implemented to some extent for some
> time now, but I failed to locate any mention of this in the Release Notes or
> in the manual.  Have I missed something ?

Lack of documentation is pretty common and unfortunate. For example,
"classdef" was only added to the user manual in version 4.4. Help with
the user manual is always appreciated.

> 2) How are they called in Octave ?
> 
> The corresponding functionality in Matlab in called "package", but this word
> refers to something entirely different in Octave...

Yep. See "help import", where both "package" and "namespace" are used to
refer to the same thing. I prefer "namespace".

Cheers,

-- 
mike
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEjM8i8+X7hnRontVHj+du6+d1fSwFAl6p0UYACgkQj+du6+d1
fSwA1Q//UljD4ap4L8isgnpQqFiEmN7pYKN97fNJKClo1aLV6v2rFOfK/VSYHdC8
ethMrww5ZtxyTeEZhLuxKCHVcV8e/oHrKbOIZD61/5Z3/H6NVVRUin8xhT+sCdsF
9AWdHO1pggqiBiUjyBFf9uIMvEg0N//uO1D/tyozSgFXeQXO7zHR+X2HRzFsvOuJ
KwAULXcUYS6b9oTN/SlPxIQ/sPpexrKWvX8/O+Y1fFG/e6G0Q1uJGGGtDvqUWjVD
lQfc5foRUAxoWwUaqfdn/Eu8DDAj6LQpLkaO2Bj0ZAsFinzXJ6dj8eRscMbi2mTC
6sZftKrMHd+Ma2p+VBRYIQyTWbTYg8Yv8Mfv7B94lqkal4okaJJ18fx1iBxBxtrJ
No9mD4+4uuk0RDifkOvDjxQR+wWqWXR7jr73HIbUqMcQHiDqmmQ/Wsg3saC/qPzb
eb/WNPLty/cSYi3e1T5rEp4FO3Z8YGMowHhSCdPQqnkLUQ0sV2RcmNUXdUzjYsbm
eEFaHa3wBGZ6YXzwEpHUW8H5T2BvZyN0zCminEsWH+xKNkMxZAa6RdnCwLZOS7GZ
PRJqad8Mhc8QyegQR4b/9OVLDX/i2qrirWTguKn422X/+L3nA9mKUPXY0yQ8nu+g
xu8eHoCGgFDMxRplT7lRyuBtmQ6853uJPWaItT76ey9O3nfAW2w=
=O+dB
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.