MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How can one define variables to be local by default ?


Use the Variables command. Replace Power with List. Delete(Cases) the
global variables from the output.

On 5/16/05, Enrico Arrigoni <arrigoni at itp.tu-graz.ac.at> wrote:
> Module allows me to specify that
> a given set of variables should be local.
> 
> However, one may forget to include some variables in the list, so that one would like to have a command specifying
> that ALL variables within an expression are local, (except possibly  for a list of variables declared as global at the beginning).
> 
> Is there a way to do that?
> I tried by changing the COntext and COntextPath (using BeginPackage and Begin) but this does it only the first time
> 
> Thanks
> 
> Enrico
> 
> 


-- 
Chris Chiasson
http://chrischiasson.com/
1 (810) 265-3161


  • Prev by Date: UpSetDelayed and N
  • Next by Date: Modifying displayed form of an expression?
  • Previous by thread: How can one define variables to be local by default ?
  • Next by thread: Microsoft XP64