Mostly Harmless

Talk:Functions

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

--Azura 21:10, 24 February 2009 (UTC)This could benefit from a few examples. The out keyword isn't used in other languages and it would be nice to illustrate how it's used.

The out keyword is analogous to pass-by-reference - ByRef in Visual Basic and VB.NET, and "ref" (I think) in C#. Other examples probrably exist. 216.36.188.184 17:30, 1 March 2009 (UTC)

Indeed, and in C/C++ and PHP it's done with the & symbol in the parameter declaration, IIRC. —Wormbo 08:23, 2 March 2009 (UTC)