Procedures and Modules

Programming boils down to writing procedures. A procedure is a group of instructions that allows you to accomplish specific tasks when your program runs. When you place instructions (programming code) in a procedure, you can call this procedure whenever you need to perform that particular task.

You create and store procedures in modules, which can contain one or more procedures. Each procedure in the same module must have a unique name. Procedures in different modules can have the same name. Each module begins with a Declaration section that lists various settings and declarations that apply to every procedure in the module. Following the Declaration section is the Procedure section, which holds the module's procedures.

0 0

Post a comment