[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64762] defining a function "load" makes packa
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #64762] defining a function "load" makes packages unavailable |
Date: |
Sun, 8 Oct 2023 10:16:30 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?64762>
Summary: defining a function "load" makes packages
unavailable
Group: GNU Octave
Submitter: None
Submitted: Sun 08 Oct 2023 02:16:28 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name: Andreas Stahel
Originator Email:
Open/Closed: Open
Release: 8.3.0
Discussion Lock: Any
Operating System: GNU/Linux
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sun 08 Oct 2023 02:16:28 PM UTC By: Anonymous
Defining a function "load"
(I know it is a bad idea to overwrite load())
and then calling this function once makes the packages disappear.
Calling "pkg list" leads to "no packages installed"
clear *
pkg list %% is OK
function res = load(a)
res = a;
endfunction
b = load(2);
pkg list %% is not OK any more
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64762>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #64762] defining a function "load" makes packages unavailable,
anonymous <=