local or global variables

*To*: mathgroup at smc.vnet.net*Subject*: [mg110991] local or global variables*From*: lynette <xiaochu at gmail.com>*Date*: Fri, 16 Jul 2010 05:16:41 -0400 (EDT)

HI: I have encountered a problem as follow, can anyone help? thanks a lot. when sigma is defined as local variable, the function doesn't work f[x_]:=Module[ {sigma}, sigma \. {{sigma->1},{sigma->2}} ] when sigma is NOT defined as local variable, the function works f[x_]:=Module[ {}, sigma \. {{sigma->1},{sigma->2}} ]