What Does Procedure Mean?
In computer programming, a procedure is an independent code module that fulfills some concrete task and is referenced within a larger body of source code. This kind of code item can also be called a function or a sub-routine. The fundamental role of a procedure is to offer a single point of reference for some small goal or task that the developer or programmer can trigger by invoking the procedure itself.
Techopedia Explains Procedure
The basic idea of a code procedure grew out of the desire to make code more efficient. Early linear code programs often lacked the versatility and sophistication that would allow for more complex processes in code. By using a procedure, a programmer can make a program do that one thing in many different ways, using different parameters and sets of data, simply by invoking the procedure with different variables attached.