2,286 reputation
1033
bio website
location
age
visits member for 2 years, 7 months
seen 2 days ago

Sep
17
comment How to overwrite a private symbol value temporarily?
Yes, I'm well aware.
Sep
17
comment How to overwrite a private symbol value temporarily?
Yes. ClearAttributes[FooBar`Private`tmp, Protected]. Also Quiet[Get["mypackage`"], Set::wrsym]`.
Sep
17
comment How to overwrite a private symbol value temporarily?
Only thing I added is after Get[], I do SetAttributes[Foo`Bar`Private`tmp, Unprotected]
Sep
17
accepted How to overwrite a private symbol value temporarily?
Sep
16
comment How to overwrite a private symbol value temporarily?
@xzczd I amended original post to clarify it.
Sep
16
revised How to overwrite a private symbol value temporarily?
added 99 characters in body
Sep
16
comment How to overwrite a private symbol value temporarily?
@Yi Wang, your suggestion is incorrect if you mean Block[{tmp = 3}, Get["mypackage.m"]]. Also your comment is too undetailed to be understandable or helpful.
Sep
16
revised How to overwrite a private symbol value temporarily?
added 14 characters in body
Sep
16
asked How to overwrite a private symbol value temporarily?
Sep
5
awarded  Good Question
Aug
28
comment Purpose of construct `With[{var=myComputation[…]}, var/;True]`?
Ok, so the other half of the question is also refused?
Aug
28
asked Purpose of construct `With[{var=myComputation[…]}, var/;True]`?
Aug
25
awarded  Nice Question
Aug
13
asked Is there any metadata-holding mechanisms in Mathematica programming similar to Java annotations?
Jul
17
awarded  Self-Learner
Jul
17
answered How to get the list of notebooks that are automatically opened when Mathematica starts?
Jul
17
asked How to get the list of notebooks that are automatically opened when Mathematica starts?
Jul
15
comment How to run an external notebook from another notebook?
NotebookEvaluate[] works. As for the questions, it's not suitable either the init.m or an exported package file.
Jul
15
asked How to run an external notebook from another notebook?
Jul
15
awarded  Favorite Question