Ved International Discussion Board


Join the forum, it's quick and easy

Ved International Discussion Board
Ved International Discussion Board
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Here again, we may wish to store all of

Go down

Here again, we may wish to store all of  Empty Here again, we may wish to store all of

Post by binusasi Mon Jul 16, 2012 8:26 pm

Here again, we may wish to store all of our code in the form modules, with each module containing the code needed for its form to operate properly. However, it's not uncommon for identical procedures to be used in more than one form. When that's the case, it's more efficient to store a single procedure in a standard module, for use by each of the forms that need it. The same is true for variable declarations. If a variable is used in a single form, it should be declared in the form module. But if it's used in multiple forms, it should be declared in the standard module. Proper use of code modules allows us to write code that runs faster and uses memory more efficiently.
binusasi
binusasi
LEADER Of ALL
LEADER Of ALL

Posts : 7988
Join date : 2011-12-07

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum