V vndnguyen Member Nov 20, 2011 #1 Hi all, I have problem with the variable. According to B4A, the global variables (declared in Process_Globals sub) can be accessed from all modules. But in fact I cannot access them from other Activity. Any help would be appreciated. Thank you. :sign0104:
Hi all, I have problem with the variable. According to B4A, the global variables (declared in Process_Globals sub) can be accessed from all modules. But in fact I cannot access them from other Activity. Any help would be appreciated. Thank you. :sign0104:
Cableguy Expert Licensed User Longtime User Nov 20, 2011 #2 You must preceed the variable name with the module in wich it was DIMmed. ie, you DIMmed a var called MyVar in Main Process_Globals Then you access it with Main.MyVar in every other module that is NOT the one it was DiMmed on Upvote 0
You must preceed the variable name with the module in wich it was DIMmed. ie, you DIMmed a var called MyVar in Main Process_Globals Then you access it with Main.MyVar in every other module that is NOT the one it was DiMmed on
V vndnguyen Member Nov 20, 2011 #3 Cableguy said: You must preceed the variable name with the module in wich it was DIMmed. ie, you DIMmed a var called MyVar in Main Process_Globals Then you access it with Main.MyVar in every other module that is NOT the one it was DiMmed on Click to expand... Thank you very much. So simple Upvote 0
Cableguy said: You must preceed the variable name with the module in wich it was DIMmed. ie, you DIMmed a var called MyVar in Main Process_Globals Then you access it with Main.MyVar in every other module that is NOT the one it was DiMmed on Click to expand... Thank you very much. So simple