Could you please provide a complete Minimal (Non-)Working Example of what you’re trying to do? And also quote your code?
That being said, I think what you are missing is a statement which imports your module (cf. Modules, such as
using MyModule
When you only include("myModule.jl")
, you make Julia load all the code it contains (and therefore it is aware of the existence of the module). But you have to also “import” the module, i.e. tell Julia that you actually want (some of) what it defines to be brought into your current scope.