tracker issue : CF-4203066

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

array add() described as a member function

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): James Mohler / ()

Created: 07/11/2018

Components: Documentation, Examples

Versions: 13.0

Failure Type: Conflict With Docs

Found In Build/Fixed In Build: 2018_04 Beta documentation / latest docs

Priority/Frequency: Normal / All users will encounter

Locale/System: ALL / Windows 10

Vote Count: 0

Problem Description:

In 3.10 of the Public Beta Guide it shows:

{code:java}
<cfscript>  
arr=arrayNew['String'](1);  
arr.add("hello");  
arr.add("world"); 
 writeDump(arr);
</cfscript> 
{code}



Steps to Reproduce:

Go to page

Actual Result:

This should either throw an error. Or work
If it does work, then the documentation reflect this new member funciton

Attachments:

Comments:

Hi Adobe and James, Agreed. CF's example code should be using CF functions (not Java). Both of those '.add' should be '.append'. Thanks!, -Aaron
Comment by Aaron Neff
29342 | July 15, 2018 07:37:27 PM GMT