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

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

[Octave-bug-tracker] [bug #54658] Private directory in +package


From: Marshall
Subject: [Octave-bug-tracker] [bug #54658] Private directory in +package
Date: Thu, 13 Sep 2018 14:46:35 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0

Follow-up Comment #1, bug #54658 (project octave):

I thought that maybe this had to do with the need to use mypkg before the
function name, such as in calling mypkg.myfcn2 below. However
mypkg.myprivatefcn doesn't work either. However the following runs
successfully in matlab if and only if mypkg is not before the private function
call.


function myfcn ()
    disp ("myfcn");
    mypkg.myfcn2();
end



function myfcn2 ()
    disp ("myfcn2");
    myprivatefcn ();
end



function myprivatefcn ()
    disp ("myprivatefcn");
end



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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