Tag Info

New answers tagged

2

In version 10 under Windows I am unable to reproduce the problem you describe: Unprotect[ClearAll]; ClearAll[] := ClearAll["Global`*"] SyntaxInformation[ClearAll] = {"ArgumentsPattern" -> {___}}; Protect[ClearAll] In the Notebook: Without the definition above:


3

You can use SyntaxInformation. In this case, SyntaxInformation[Lim] = {"ArgumentsPattern" -> {_, _, OptionsPattern[]}, "LocalVariables" -> {"Limit", {2}}} does what you want.



Top 50 recent answers are included