help-octave
[Top][All Lists]
Advanced

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

Re: 'pkg load ... pkg unload' inside function


From: Søren Hauberg
Subject: Re: 'pkg load ... pkg unload' inside function
Date: Sat, 11 Dec 2010 11:32:57 +0100

fre, 10 12 2010 kl. 13:02 -0800, skrev Muhali:
> b) when doing 'pkg load' inside a function, should the package not
> automatically be unloaded after the function return (like variables)?

If you have called a function from a package it will not be unloaded
when you unload the package. Basically, the parser keeps it in memory
until memory is cleared (using 'clear').

Søren



reply via email to

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