[Gambas-user] Load modules dynamically ?

ub2 at ...36... ub2 at ...36...
Mon Nov 14 18:17:21 CET 2016


Dear Gambas users,


The situation:
- Different gambas-programs,
- all using similar functions
- All those functions are packed in modules.

The question:
I there a way to load those modules at runtime?
As for example in the FMain.Form_Open, something like:
- "ModuleXY.Load(Path_to_Module)", or
- "ImportModule("Path_to_module","LoadAsModuleName")

My hope:
Stopping to struggle with similar but diverging functions in different
programs by loading a "Master-Module" at runtime.


Sorry if there is a simple and stupid answer, I've not found it yet.


Thanks for any ideas, links or snippets.




More information about the User mailing list