All Questions
Tagged with undocumented scoping
9
questions
2
votes
0
answers
145
views
What is the usage of other "*Block" and "With*"? [closed]
There exist some "kernel functions" that are related to the built-in scoping constructs: Assumptions`AssumptionsBlock, ...
23
votes
1
answer
479
views
Bug with iterated With: Referring to function arguments invalidates previous definitions
Thank you for your report. I have forwarded your report to the appropriate team for review. - WRI
...
2
votes
0
answers
115
views
Internal`LocalizedBlock doesn't support Protected symbols and emits weird messages
Protect[x];
Internal`LocalizedBlock[{x[0]}, x[0] = 1; x[0]]
...
21
votes
1
answer
286
views
Why are delayed definitions in scoping functions not documented?
As outlined here, := may be used in scoping constructs like With to give delayed definitions, but this is undocumented.
This ...
12
votes
3
answers
378
views
What is the equivalent of $ModuleNumber for DynamicModule
Mathematica provides access to $ModuleNumber which can be enormously useful.
Unfortunately I can't find the equivalent for ...
29
votes
2
answers
817
views
What is the purpose of Internal`LocalizedBlock?
I have come across the (internal) use of the function:
Internal`LocalizedBlock
I am trying to determine its purpose. It seem to behave like ...
9
votes
1
answer
212
views
Strange behaviour of Internal`InheritedBlock
I was going to post an answer for fast way to replace all zeros in the matrix. I was even quite happy because timings were the same order of magnitude as others.
The idea was to overwrite ...
50
votes
1
answer
1k
views
What does Internal`InheritedBlock do?
What does the function Internal`InheritedBlock do? How is it different from the regular Block?
17
votes
1
answer
540
views
Is the sharing of variables in Module/Block within Compile documented behavior?
Today I noticed something, I think for the first time.
When used inside Compile variable values within Module (and ...