Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15051 > unrolled thread

Writing functions that automatically localize dummy variables? ( like Table,Sum,etc...)

Started byBrentt <brenttnewman@gmail.com>
First post2013-06-29 08:49 +0000
Last post2013-06-29 08:49 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Writing functions that automatically localize dummy variables? ( like Table,Sum,etc...) Brentt <brenttnewman@gmail.com> - 2013-06-29 08:49 +0000

#15051 — Writing functions that automatically localize dummy variables? ( like Table,Sum,etc...)

FromBrentt <brenttnewman@gmail.com>
Date2013-06-29 08:49 +0000
SubjectWriting functions that automatically localize dummy variables? ( like Table,Sum,etc...)
Message-ID<kqm73a$hps$1@smc.vnet.net>
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.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web