Can't call struct constructor inside of a function

I have this struct created in a file:

I’m including it on another file using:

But, when a try to call the constructor of the struct inside of a function like this:

I get this error:

ERROR: LoadError: UndefVarError: e not defined
 [1] generate_env()
   @ Main ~/path/to/file/data_gen.jl:161
 [2] top-level scope
   @ ~/path/to/file/data_gen.jl:167
in expression starting at /path/to/file/data_gen.jl:167

Could someone help me?

What is the last e in

e = Environment(dfp, ... , e)
1 Like

Ops… I’m sorry. I’ve been working for so many hours that I couldn’t realize. :face_with_spiral_eyes:
Need to sleep…

Thank you very much for your help!