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


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

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

From Brentt <brenttnewman@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Writing functions that automatically localize dummy variables? ( like Table,Sum,etc...)
Date 2013-06-29 08:49 +0000
Message-ID <kqm73a$hps$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


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.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web