[Scilab-users] Protecting a new variable by using predef()

Serge Steer Serge.Steer at inria.fr
Wed Aug 28 13:34:04 CEST 2013


Le 28/08/2013 09:50, A Khorshidi a écrit :
> Hi;
>
> the help says: "predef(n) sets the max(n,7) last defined variables as
> protected"
> So, predef(n) doesn't protect my new defined variables. In fact this syntax
> is equivalent to predef('clear') !
>
> -->predef()
>   ans  =
>   
>      75.
>   
> -->a1=1;a2=2;a3=3;a4=4;
>   
> -->predef(4)
>   ans  =
>   
>      75.    13.
>
>
>
> So my question is, how to protect only one variable? for example "a1"
It is not possible yet.
Serge
> Merci
> Mehran
>
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/Protecting-a-new-variable-by-using-predef-tp4027293.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>




More information about the users mailing list