문제

I have some data in an integer[] Native Array and I want to perform ArrayAppend / ArrayDeleteValue operations on it. I've noticed that this fails silently in Railo 3.3 because the native array types are fixed length (you can change values but not add/remove).

The question is can I convert a native array to a regular coldfusion/railo array object without doing iteration on it? Is there some kind of built-in function/method for this or do I have to write my own?

도움이 되었습니까?

해결책

I found one way. railo_array = ArrayMerge([], my_native_array). Not sure if there's a better way.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top