A parameter is a variable that takes on the value of the corresponding argument passed in the call to a subroutine.
Within a subroutine a parameter acts as a local variable containing a copy of the parameter's argument.
Nearly all programming languages support subroutine parameters.
Parameters are declared together with the subroutine declaration. A subroutine declaration contains multiple parameters which are collectively known as the parameter list.
home | Home Page |