I love the smell of UnrealEd crashing in the morning. – tarquin
Difference between revisions of "Talk:Functions"
From Unreal Wiki, The Unreal Engine Documentation Site
(New page: --~~~~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.) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
--[[User:Azura|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. | --[[User:Azura|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. [[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)