I have a package:
BeginPackage["HNotation`"];
soma::usage = "asdfa";
Begin["`Private`"];
soma[x_] := x + 1;
End[];
EndPackage[];
I save the file with ".m" extension. So, in another file I tried to load the package:
In[2]:= Get["MPA_HNotation.m", Path -> {"/home/mateus/Desktop/"}]
In[3]:= soma[x]
Out[3]= soma[x]
It seems that doesn't get the package. What can be wrong?
somathat interfere.Getwould issue a message if it didn't find the file. What if you restart the kernel. What does?somasay? – Kuba Jan 24 '19 at 21:24(* *). So, a question. Every time that I modify my notebook and save as a .m file I will have to uncomment? – Mateus Jan 25 '19 at 15:35