There are two types of procedures used in Qbasic. They are:
- Sub procedure: A subprocedure is a small manageable and functional part of a program that performs specific tasks and does not return any value to the calling module.
- Function procedure: A function procedure is a small manageable and functional part of a program that performs the specific tasks and returns a single value to the main program or calling module.