Hello everyone,
I'm creating modules for few common functions and I've got stuck on module responsible for writing log files.
Normally, scopes should automatically inherit variables from parent scope, unless they're private. However, I've noticed that this is no longer the case with functions loaded from modules.
When function from module is called, it won't inherit variables or functions.
Is this expected behavior, or bug (sounds like that to me). I can confirm that with Global variables it works as expected (but I would like to avoid them).
Martin