|
|
|
|
|
|
|
|
|
|
|
|
|
v |
Discussion
of parameters for procedures
|
|
|
|
o |
Parameters
link the variables in the calling context with the
|
|
|
variables
in the procedure context
|
|
|
|
o |
There
is a 1-to-1 relationship between the formal parameters
|
|
of
the procedure definition and the actual parameters of the
|
|
|
actual
procedure call
|
|
|
|
o |
The
default way of passing parameters in Visual Basic is
|
|
|
“pass
by reference”. The formal parameter
becomes an
|
|
|
alias
for the actual parameter.
|
|