Skip to main content

Questions tagged [contexts]

Questions about contexts, which are used in Mathematica to organize defined symbols and avoid conflict between symbols that would otherwise have the same name. They are created when packages are loaded.

4 votes
1 answer
232 views

While playing around with the Developer` package, I encountered what I think is strange behaviour. Using a fresh kernel, I get the following expected results: ...
eddy ardonne's user avatar
4 votes
1 answer
239 views

Tested in $Version (* "14.3.0 for Microsoft Windows (64-bit) (July 8, 2025)" *) The issue can be reproduced in the following manner. First, execute the ...
xzczd's user avatar
  • 71.5k
6 votes
1 answer
302 views

In help it says (under scope) Notice it gives context of x as cell. But when I do the same in my notebook, running V 14.3 on Linux, it gives ...
Nasser's user avatar
  • 156k
0 votes
0 answers
107 views

I want to write a Mathematica package which on being loaded, performs some calculations such as ...
Abhijeet Melkani's user avatar
1 vote
0 answers
71 views

I modified the question. It turns out this problem has nothing to do with using a package. New style or standard style./ Same problem shows in a normal module in notebook. This is the most bizzar ...
Nasser's user avatar
  • 156k
4 votes
2 answers
318 views

I like to call my package private functions using mypkg`functionName[...] i.e. add an explicit mypkg to each call. This ...
Nasser's user avatar
  • 156k
0 votes
1 answer
244 views

Suppose I begin a package: BeginPackage["MyPackage`"]; Before running this command in a fresh kernel, the context and path were: ...
user13892's user avatar
  • 10.4k

15 30 50 per page
1
2 3 4 5
15