The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

Talk:Functions

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 02:23, 2 March 2009 by Wormbo (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)