Hi. I have a folder with four .jl file. One is the module file with name myModule.jl, the second one type.jl is the file with all the type definitions, the third one gen_csv file is the file of function definitions, the forth one example.jl is the main file I’d like to test. In the module myModule.jl, I export myFunction.
Now, in the example.jl, I put
this function myFunction is defined in the file gen_csv.jl.
But I got an error, saying that
UndefVarError: myFunction not defined.
I was deeply confused. :((( Any help please?
The other concern is, I’m using Atom to run the file. After keeping running it, I got an error, saying that "warning: replacing module myModule. I do not know why. Could anyone please help me?