MathGroup Archive 2013

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

Search the Archive

Re: Writing functions that automatically localize dummy variables? (


Woops, I meant to write "(* k is scoped..." in the Table example


On Fri, Jun 28, 2013 at 8:48 AM, Brentt <brenttnewman at gmail.com> wrote:

> Hello, I often find myself writing functions that have dummy variables a
> la Integrate, Table, Sum, etc.
>
> The built-in functions have a nice feature where they automatically
> localize the variable as you type in the argument that specifys the dummy
> variable. e.g.
>
> Table[k, {k (*<-  i is scoped and turns green immedietely when typed here
> *), 1, 2}]
>
> Is there a way to give my own functions this feature?
>
> Thank you for any help.
>




  • Prev by Date: Writing functions that automatically localize dummy variables? ( like Table,Sum,etc...)
  • Next by Date: Re: Exploiting relationships in manipulations: example with conjugate relationship
  • Previous by thread: Writing functions that automatically localize dummy variables? ( like Table,Sum,etc...)
  • Next by thread: eliminating script level change in a math cell...