Rob Bliss Member Licensed User Longtime User Jul 1, 2020 #1 When calling a function thats in a code module, is there a way to get and use the .bas file name thats calling it, other than creating a new parameter in the function? I was hoping Sender would be of use, but it would appear not.
When calling a function thats in a code module, is there a way to get and use the .bas file name thats calling it, other than creating a new parameter in the function? I was hoping Sender would be of use, but it would appear not.
Erel B4X founder Staff member Licensed User Longtime User Jul 1, 2020 #2 Best not to use code modules at all. Use classes. You should add a global variable with the name. Upvote 0