Monday, September 23, 2013

Parameter ~ Argument

“A parameter represents a value that the procedure expects you to pass when you call it. The procedure's declaration defines its parameters.

The name of each parameter serves as a local variable in the procedure. You use the parameter name the same way you use any other variable.”
– Microsoft documentation

“An argument represents the value that you pass to a procedure parameter when you call the procedure. The calling code supplies the arguments when it calls the procedure.

In contrast to parameter definition, arguments do not have names. Each argument is an expression.”
– Microsoft documentation

No comments:

Post a Comment