Create your fuctions in a class module and call/test them from the main module. Search for the tutorial on what is a class module and how to work with them
How do I call the unit test main function from the app? Do I create a menu item called "unit test"? I don't want the users to see the unit test feature
Classes are reusable pieces of code, the main difference between classes and code modules is that a class can generate and interact with UI elements, and code modules cannot.
You can import your Function module (class or code module) into a new project and test its functions. after you're happy with it, use the module in the final app.
As I understand the shared file scenario, the abc.bas file is referenced by two projects. The fact that I put the shared file in the Shared Modules path configuration tells the compiler to use the code in an external location other than under the project directory.
As I understand the shared file scenario, the abc.bas file is referenced by two projects. The fact that I put the shared file in the Shared Modules path configuration tells the compiler to use the code in an external location other than under the project directory.
Correct, the only difference is, you don't need to replicate your module unless you need to, like in the case you make changes that you don't want to stay in the original shared module. Modules you import from the Shared modules folder stay in the shared modules folder, they are not copied to your project folder, so if you have a module that is used in several projects, any change made to the module will reflect in all projects.
shared modules are pretty cool. I made a change in one project in the shared code module then open up the other project and the changes were in the code.