tracker issue : CF-4033627

select a category, or use search below
(searches all categories and all time range)

Add ArrayConcatenate function

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/

Reporter/Name(from Bugbase): Neil Pugh / Neil Pugh (Neil Pugh)

Created: 08/09/2015

Components: Core Runtime

Versions: 11.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Windows 7

Vote Count: 0

Which allows me to concatenate an array to an array. Or enhance ArrayAppend() so that I can pass an array to append to the array.

Also change ArrayAppend so it returns a reference to the array that was passed in.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4033627

External Customer Info:
External Company:  
External Customer Name: Neil
External Customer Email:  
External Test Config:



You can pass an array to arrayAppend() and have it merged (since v10) by doing: arrayAppend(arr1, arr2, true); See
Comment by External U.
6336 | August 09, 2015 07:59:38 PM GMT
Thanks. I think ArrayConcatenate() would have been a better way to have named this functionality.
Comment by External U.
6337 | August 21, 2015 07:36:25 AM GMT
In hindsight I think this should be closed as it's not a new feature and adding ArrayConcatenate() would create a duplication in the language.
Comment by External U.
6338 | October 12, 2015 04:14:41 PM GMT
ArrayAppend already does the same
Comment by Rupesh K.
6339 | October 15, 2015 12:03:52 PM GMT