BUILT-IN MATHEMATICA SYMBOL

ContextToFileName

ContextToFileName["context"]
gives the string specifying the file name that is by convention associated with a particular context.

DetailsDetails

  • In typical cases, is taken to be associated with the file .

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Give the file with extension .m that would be associated with a context:

In[1]:=
Click for copyable input
Out[1]=

Longer context qualifiers correspond with directories:

In[2]:=
Click for copyable input
Out[2]=
New in 3
New to Mathematica? Find your learning path »
Have a question? Ask support »