What happens when a parameter in a procedure is declared byval?
Answers
Answered by
12
When a parameter in a procedure is declared ByVal, a copy of the
argument is sent to the procedure. In other words, the argument of the
procedure is passed by specifying the value of the parameter. The keyword ByVal
is used for the parameter in the procedure. This feature is used in Visual
Basic and copies the value of the programming element to a local variable that
is used in the procedure.
Similar questions
Chemistry,
9 months ago
Social Sciences,
9 months ago
English,
9 months ago
Social Sciences,
1 year ago