What is modular programming? How do I modularize a program?
Quick Basic has several features to help you create programs that are organized in a logical and structured manner. This style of programming is often referred to as “modular” programming. There are many advantages to modular programming; the most important advantage is that the logic of a modular program is clearer. A modular program is structured in such a way that the various functional blocks of source code are isolated in separate procedures. This makes it easy to reuse particular procedures in other programming projects and greatly simplifies debugging. In a modular program, problems can be quickly isolated to a given procedure. The procedure can then be tested and debugged separately, without you having to consider the remainder of the program.