Computer Languages
|
Subroutines group together parts of a program which will be used several times. A subroutine is a named section of a program that can be repeatedly called up to perform a given function by other parts of the program. Subroutines are also known as 'Functions', 'Modules' or 'Procedures'. This saves writing the repeated section out several times in the program. Individual subroutines can be tested in isolation to check that they correctly perform their function. It is easier to
work on small sections of a large programming project by
breaking the design down into individual subroutines.
|