Page 62 - Programming VB.NET
P. 62
58 Chapter 6: Procedures And Functions
6.1 Procedures
PROCEDURES:
A block of program code that performs a
specific task
Function procedure:
Sub procedure:
Returns a value after performing
its task Does not return a value
Types of Sub Independent
Event procedures: Sub
procedure: procedure:
Collection of code
Sub procedure that can be
that is associated invoked from one
with a specific or more places in
object and event an application
Automatically
processed when Not associated with
the associated an event
event occurs
Processed only
when called
(invoked)