MathGroup Archive 2010

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

Search the Archive

Re: Can one have different Coloring to show which local symbols are

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108765] Re: Can one have different Coloring to show which local symbols are
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Tue, 30 Mar 2010 05:04:01 -0500 (EST)
  • References: <hoklkh$so0$1@smc.vnet.net> <hoq4gn$16a$1@smc.vnet.net>

"dh" <dh at metrohm.com> wrote in message news:hoq4gn$16a$1 at smc.vnet.net...
> Hi Nasser,
> here is a function that may help you. I would like to pay tribute to the
> one who deserves it, but its too long ago that I got this and I can no
> more remember who it was.
> The code classifies variables according to use:
>....

Thanks Daniel ! This is really a very useful function.

I just used it on a large function that I thought I cleaned up, and it found 
one local variable not being used, and found 2 which I did not have declared 
as local which should  have been and were left global.

Too bad we do not know who the original author, they deserve to be thanked 
for this function as well.
--Nasser




  • Prev by Date: Re: priorities between @, @@ and //
  • Next by Date: 0/1 knapsack-like minimalization problem and file system access
  • Previous by thread: Re: Can one have different Coloring to show which local symbols are
  • Next by thread: ParametricPlot3D - plane appears contracted in some directions