How long do these passing methods last? I just want to make sure that I have these lifespans correct. ByVal variables lasts for the entire program time, while ByRef variables last until the procedure ends. Am I correct?
ByVal and ByRef only determine how a variable is passed to a method. Either as a value, which means the variable is copied and exists only within the called method, or as a pointer to the original object, which means the original object passed is the one being modified. There is no time factor involved.