Re: An expression that rebinds a variable?

2007-05-18 Thread Thomas Bellman
GreenH [EMAIL PROTECTED] writes: Can I know what kind of expressions rebind variables, of course unlike in C, assignments are not expressions (for a good reason) So, eval(expr) should bring about a change in either my global or local namespace, where 'expr' is the expression List

An expression that rebinds a variable?

2007-05-17 Thread GreenH
Can I know what kind of expressions rebind variables, of course unlike in C, assignments are not expressions (for a good reason) So, eval(expr) should bring about a change in either my global or local namespace, where 'expr' is the expression --

Re: An expression that rebinds a variable?

2007-05-17 Thread Maric Michaud
GreenH a écrit : Can I know what kind of expressions rebind variables, of course unlike in C, assignments are not expressions (for a good reason) So, eval(expr) should bring about a change in either my global or local namespace, where 'expr' is the expression For global scope you could use

Re: An expression that rebinds a variable?

2007-05-17 Thread GreenH
On May 17, 9:15 am, Maric Michaud [EMAIL PROTECTED] wrote: GreenH a écrit : Can I know what kind of expressions rebind variables, of course unlike in C, assignments are not expressions (for a good reason) So, eval(expr) should bring about a change in either my global or local namespace,

Re: An expression that rebinds a variable?

2007-05-17 Thread Gabriel Genellina
En Thu, 17 May 2007 18:29:35 -0300, GreenH [EMAIL PROTECTED] escribió: Thanks, But, my interest is actually in finding the cases in which eval(expr) would throw surprises at me by bringing changes in namespace(s), just because I haven't given a namespace for that eval() i.e., where would we