In B4i if you declare your variables in Process Globals in code modules they are declared in the whole application. That is "Main" and other code modules.
Edit - Also make sure you have declared them as Public in order to be able to use the variables in Main.
In B4i if you declare your variables in Process Globals in code modules they are declared in the whole application. That is "Main" and other code modules.
Edit - Also make sure you have declared them as Public in order to be able to use the variables in Main.