My program doesn't have bugs. It just develops random features.
Talk:Dynamic arrays
From Unreal Wiki, The Unreal Engine Documentation Site
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. The section about Length now contains information twice, btw.: "If used on the left side of the simple assignment operator, this syntax can also be used to add or remove elements to/from the array. Like all operations that add elements to the array, this will initialize the new elements with the null value of the array's inner type." I agree that it could be a bit more specific, but now the bits of information around that part seem a little redundant. —Wormbo 04:55, 16 May 2012 (UTC)