Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
Difference between revisions of "Talk:Functions"
From Unreal Wiki, The Unreal Engine Documentation Site
Line 2: | Line 2: | ||
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. [[Special:Contributions/216.36.188.184|216.36.188.184]] 17:30, 1 March 2009 (UTC) | 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. [[Special:Contributions/216.36.188.184|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. —[[User:Wormbo|Wormbo]] 08:23, 2 March 2009 (UTC) |
Latest revision as of 01:23, 2 March 2009
--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)