toby Well-Known Member Licensed User Longtime User Apr 15, 2023 #1 My app is for Android only, not cross-platform. The Starter module is used to declare some global variables; I prefer shorter names such as starter.myVariable over B4XPages.MainPage.myVariable. To avoid problems down the road, should I move all codes away from the Starter module to somewhere else and leave the Starter module empty?
My app is for Android only, not cross-platform. The Starter module is used to declare some global variables; I prefer shorter names such as starter.myVariable over B4XPages.MainPage.myVariable. To avoid problems down the road, should I move all codes away from the Starter module to somewhere else and leave the Starter module empty?
LucaMs Expert Licensed User Longtime User Apr 15, 2023 #2 toby said: My app is for Android only, not cross-platform. Click to expand... So you could use Starter without problems. toby said: I prefer shorter names such as starter.myVariable over B4XPages.MainPage.myVariable Click to expand... Short names? Create a code module named modV! B4X: modV.myVariable (You could create a Sub Init in modV and call it when the app starts). Last edited: Apr 15, 2023 Upvote 0
toby said: My app is for Android only, not cross-platform. Click to expand... So you could use Starter without problems. toby said: I prefer shorter names such as starter.myVariable over B4XPages.MainPage.myVariable Click to expand... Short names? Create a code module named modV! B4X: modV.myVariable (You could create a Sub Init in modV and call it when the app starts).