| podobné slovo | definícia |
call-by-value (foldoc) | call-by-value
CBV
(CBV) An evaluation strategy where arguments are evaluated
before the function or procedure is entered. Only the values
of the arguments are passed and changes to the arguments
within the called procedure have no effect on the actual
arguments as seen by the caller. See {applicative order
reduction}, call-by-value-result, strict evaluation,
call-by-name, lazy evaluation.
|
call-by-value-result (foldoc) | call-by-value-result
An argument passing convention where the actual argument is
a variable V whose value is copied to a local variable L
inside the called function or procedure. If the procedure
modifies L, these changes will not affect V, which may also be
in scope inside the procedure, until the procedure returns
when the final value of L is copied to V. Under
call-by-reference changes to L would affect V immediately.
Used, for example, by BBC BASIC V on the Acorn
Archimedes.
|
|