|
|
|
|
|
|
|
|
|
|
|
|
|
|
v |
Procedures
have the following features
|
|
|
|
o |
Name,
a brief description of operation performed
|
|
|
|
o |
Parameters,
variables used for passing input in, output out
|
|
|
|
o |
Body,
the statements that perform the desired computation
|
|
|
v |
The
VB6 procedure to convert Celsius to Fahrenheit
|
|
|
|
o |
Name
is c2f (Snyder book uses convertC2F
… shortened to
|
|
fit
on slides …)
|
|
|
|
o |
Parameters:
input is c; output is f
|
|
|
|
o |
Body
is standard conversion equation
|
|
|
|
o |
Blue
-- key words and and symbols that are required
|
|