Hello everyone. Is it possible to tell if file is included another one? For example if I have file
#test1.jl
if (am I included in another file?)
println("Nothing to do")
else
println("Testing the functions ...")
end
and another one
#test2.jl
include("test1.jl")
I could be able to achieve:
julia test1.jl
Testing the functions ...
julia test2.jl
Nothing to do
