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 23:14, 1 November 2004 editABCD (talk | contribs)11,256 editsNo edit summary← 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 
(2 intermediate revisions by 2 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: