CALL-BY-VALUE-RESULT
\kˈɔːlba͡ɪvˈaljuːɹɪzˈʌlt], \kˈɔːlbaɪvˈaljuːɹɪzˈʌlt], \k_ˈɔː_l_b_aɪ_v_ˈa_l_j_uː_ɹ_ɪ_z_ˈʌ_l_t]\
Sort: Oldest first
-
An argument passing convention where the actual argument isa variable V whose value is copied to a local variable Linside the called function or procedure. If the proceduremodifies L, these changes will not affect V, which may also bein scope inside the procedure, until the procedure returnswhen the final value of L is copied to V. Undercall-by-reference changes to L would affect V immediately.Used, for example, by BBC BASIC V on the AcornArchimedes.
By Denis Howe