Simplified Modular Programming QBasic
Simplified Modular Programming QBasic
Sub Procedures
Sub-procedures are used when a task needs to be done without returning any value. They are defined using
the `SUB` keyword and can be called as needed within the program.
Functions
Functions perform a task and return a result. They are useful when you need a calculation or data to be
returned after completing the function's task. Functions are defined using the `FUNCTION` keyword.