M MathiasM Active Member Licensed User Nov 25, 2020 #1 Hello Is it possible to have a static function in B4X? A static function is a function that can be called on a object without initializing said object. Thanks
Hello Is it possible to have a static function in B4X? A static function is a function that can be called on a object without initializing said object. Thanks
Sandman Expert Licensed User Longtime User Nov 25, 2020 #2 MathiasM said: Is it possible to have a static function in B4X? Click to expand... Yep. https://www.b4x.com/android/forum/threads/static-code-modules.7541/ Upvote 0
MathiasM said: Is it possible to have a static function in B4X? Click to expand... Yep. https://www.b4x.com/android/forum/threads/static-code-modules.7541/
M MathiasM Active Member Licensed User Nov 25, 2020 #3 Thanks, but I actually meant in a class context (hence 'object') Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 25, 2020 #4 No. Use a static code module. Upvote 0