help-octave
[Top][All Lists]
Advanced

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

Re: Can I protect specified variables from "clear all"


From: Olaf Till
Subject: Re: Can I protect specified variables from "clear all"
Date: Sun, 17 Jul 2016 09:45:33 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Sun, Jul 17, 2016 at 10:16:38AM +0900, Tatsuro MATSUOKA wrote:
> Hello
> 
> Some scripts given from other people includes
> 
> clear all;
> 
> at the top.
> 
> However this clear unwanted variables e.g. gnuplot_binary.

Core functions like gnuplot_binary with persistent variables should
probably call mlock(). I'm not sure, but you could try a respective
bug report.

> Can I do this?
> 
> I have consulted "help clear" and I cannot get useful information.

I don't think there is another way than the above.

Olaf

-- 
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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