Functions may leak information about names(!) of local variables.
Subject: Functions may leak information about names(!) of local variables.
From: Michel Van den Bergh
Date: Fri, 29 Dec 2006 09:15:58 +0100
> One thing that you can do is to use the :: operator instead of :, by
> creating a variable using gensym.
> For example a:?gensym() /* now a is a pointer to a variable */
> a[1]::2 /* assigns the variable pointed to by a, to 2 */
> Also, the gensym variable is entered into the arrays list.
> Many of these array questions can be answered by looking at the
> commercial Macsyma's demo documentation,
> which is freely available.
Thanks! That is very useful.
Regards,
Michel