# Tag Info

5

This bug is fixed in V10.0.1.0 but the behavior is different based on evaluation sequence. If both expressions are in a single cell you get the expected empty list: Do[Module[{foo}, foo[x_] := 1; foo[0]], {100}]; Names["foo$*"] {} If they are evaluated one at a time in different cells you get a single foo$ symbol regardless of how many times the Do ...

2

In order to be recognised as symbols the subscripted forms need to be keyed in control-_, you cannot explicitly use Subscript: When you use Subscript[] the arguments are replaced by their values before being passed to the function, but if you do x Ctrl+_ 1 the Notation package can grab it before the replacement.

4

It's actually not an undocumented syntax. the Shortcut \.nn stands for a character with hexadecimal code nn. In the default UTF-8 encoding, this means you get the unicode character ½ and that character can be used as a symbol because it has no built-in meaning (you see it's colored blue in the notebook). So you can assign values to it: ½ = 1/3; ½ 1/3 ...

4

In Mathematica version 10, you can also use Inactive to allow the Symbol to be created before doing the assignment. Here is an example: Clear["x"]; Activate[Inactive[Set][Symbol["x"], 3]] (* ==> 3 *) x (* ==> 3 *)

Top 50 recent answers are included