Misplaced Pages

Call-by-value-result: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 14:29, 13 October 2004 editCharles Matthews (talk | contribs)Autopatrolled, Administrators360,392 editsm copy edit← Previous edit Latest revision as of 13:31, 24 November 2011 edit undoVadmium (talk | contribs)5,381 edits Redirected page to Evaluation strategy#Call by copy-restore 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
#REDIRECT ]
In ], '''call-by-value-result''' is an ] in ], where the actual argument is a ] ''V'' whose value is copied to a ] ''L'' inside the called ] or ].

If the procedure modifies ''L'', these changes will not affect ''V'', which may also be in scope inside the ], until the procedure returns, when the final value of ''L'' is copied to ''V''. Under ], changes to ''L'' would affect ''V'' immediately.

Used, for example, by ] on the ].

{{FOLDOC}}

Latest revision as of 13:31, 24 November 2011

Redirect to: