The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
Difference between revisions of "Talk:Dynamic arrays"
From Unreal Wiki, The Unreal Engine Documentation Site
Line 8: | Line 8: | ||
[[User:00zX|00zX]] , I also don't believe .replace is available any longer, and I also believe .Empty no longer works. Instead it should probably be changed to "ArrayName.Length=0;" I believe that will actually empty the array. It looks to me like someone just updated the UE2 article and didn't double check the info. | [[User:00zX|00zX]] , I also don't believe .replace is available any longer, and I also believe .Empty no longer works. Instead it should probably be changed to "ArrayName.Length=0;" I believe that will actually empty the array. It looks to me like someone just updated the UE2 article and didn't double check the info. | ||
--[[User:Krillin6|Krillin6]] 22:58, 15 May 2012 (UTC) | --[[User:Krillin6|Krillin6]] 22:58, 15 May 2012 (UTC) | ||
+ | |||
+ | :Don't mix up the code and defprops features. Empty and Replace modify the array in default properties, they aren't recognized in code. —[[User:Wormbo|Wormbo]] 04:55, 16 May 2012 (UTC) |
Revision as of 21:55, 15 May 2012
Apparently incorrect information with relation to Dynamic Array .function options
Dynamic Arrays so well, this page is missing .sort(delegate), also the .replace() is actually available in UE3? I cant say Ive seen it used but I'll assume its limited to the defprops
--00zX 20:48, 20 April 2010 (UTC)
00zX , I also don't believe .replace is available any longer, and I also believe .Empty no longer works. Instead it should probably be changed to "ArrayName.Length=0;" I believe that will actually empty the array. It looks to me like someone just updated the UE2 article and didn't double check the info. --Krillin6 22:58, 15 May 2012 (UTC)
- Don't mix up the code and defprops features. Empty and Replace modify the array in default properties, they aren't recognized in code. —Wormbo 04:55, 16 May 2012 (UTC)