ContextToFileName

ContextToFileName["context"]

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

Details

  • In typical cases, "name`" is taken to be associated with the file "name.m".

Examples

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]=

See Also

FileNames  $Path  AbsoluteFileName

Introduced in 1996
(3.0)