Call By Value

A ParameterPassing mode where the actual parameter is copied into the formal parameter at the point of function invocation (for example, implemented by copying into an agreed-upon register or location on the program stack).

Has the following attributes and consequences:

CallByValue refers to ParameterPassing modes with the above semantics, even if implemented differently under the hood.

See ParameterPassing, CallByReference, ExplicitLazyProgramming, CallByThunk

View edit of February 5, 2005 or FindPage with title or text search