Passing ByRef (by reference)
03/16/2017
|
0:09:18
Passing arguments to subs/procedures ByRef (by reference) - can also be done with functions. Shell program available at www.bowerpower.net/compprog1/vb06/DiceGame.zip
Passing ByRef (by reference)
Created: 03/16/2017
0:01:31
Writing parameters using ByRef so arguments are passed by reference
0:03:12
Using the parameter variable (intDieValue) to affect the argument variable (intPointsDie1 in btnRollDice_Click)
0:03:38
Using the parameter variable (picDie) to affect the argument variable (picDie1 in btnRollDice_Click)
0:05:43
Activating/calling the RollOneDie sub - the arguments will be passed byRef (by reference) so any changes made in the RollOneDie sub will also impact the argument variables in the RollDice_Click sub
0:08:01
Using a breakpoint to watch the values of the variables change