[Date Index] [Thread Index] [Author Index]
Re: Function changes in a program
Chris Degnen wrote: > Hi > > Does anyone have a suggestion on how to > check for changes in environment function > variables in a program. I.e. starting with ... > > initial environment > > f[a]=1 > f[b]=2 > > > later environment > > f[a]=1 > f[b]=99 > f[m]=3 > > I'd like to be able to determine that > f[b] had changed and f[m] was added. > Take a look at DownValues and related functions. They might prove helpful (depending on what is it exactly that you are trying to achieve).