[Gambas-user] Knowing which Module called a function in other Module
Ru Vuott
vuott at ...325...
Tue Sep 3 09:53:00 CEST 2013
Hello,
a Gambas-it comunity member wrote this theoric question:
there are 2 Modules A & B. "A" Module calls a function in "B" Module.
He would like to know if it is possible to know - without simplifications - the name of "A" Module "Caller".
Another example:
Imagine having three modules: A, B and C. Two (A and B) of these three modules can call a function present in the third "C" module. When this function is called in the third "C" Module, as you know - WITHOUT passing, as argument, explicitly trace of itself - which of the two ("A" or "B") Modules called function of the third "C" Module ?
Regards
vuott
More information about the User
mailing list