S Scantech Well-Known Member Licensed User Longtime User Dec 13, 2011 #1 I read somewhere that Main File can be splitted in the next version? Is it true? I have 5K lines in Main and beginning to be difficult scrolling around and looking for something. Talk about bad coding technique. Last edited: Dec 13, 2011
I read somewhere that Main File can be splitted in the next version? Is it true? I have 5K lines in Main and beginning to be difficult scrolling around and looking for something. Talk about bad coding technique.
Erel B4X founder Staff member Licensed User Longtime User Dec 13, 2011 #2 You can already split your code by using code modules: Static Code Modules Upvote 0
E evilpaw Member Licensed User Longtime User Dec 14, 2011 #3 You can also use Region code block and collapse blocks of code that you dont need to see. B4X: #Region <<:: Simple Code block ::>> Dim sMessage As String sMessage = "Simple application" & CRLF sMessage = sMessage & "Build version 1.1.1" Msgbox( sMessage,"About") #End Region Upvote 0
You can also use Region code block and collapse blocks of code that you dont need to see. B4X: #Region <<:: Simple Code block ::>> Dim sMessage As String sMessage = "Simple application" & CRLF sMessage = sMessage & "Build version 1.1.1" Msgbox( sMessage,"About") #End Region
S Scantech Well-Known Member Licensed User Longtime User Dec 14, 2011 #4 +1 for that Region Code. Just what i need. Upvote 0