The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Writing functions that automatically localize dummy variables? (
Replies: 1   Last Post: Jun 29, 2013 4:50 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  

Posts: 60
Registered: 9/24/11
Re: Writing functions that automatically localize dummy variables? (
Posted: Jun 29, 2013 4:50 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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

On Fri, Jun 28, 2013 at 8:48 AM, Brentt <> 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.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.