Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7f21.html
Copy link to clipboard
Copied
Remember that this function returns true or false, not a copy of the array with the new membwer added.
If you do
myarray= ArrayAppend(myarray, newMember);
myarray becomes true or false, and you will get the error "Object of type class.lang.Boolean cannot be used as an array".
Found this out the hard way :o(