tracker issue : CF-4203051

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

mistake in docs, showing how to refer to an array element

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Charlie Arehart / ()

Created: 07/03/2018

Components: Documentation

Versions: 2016

Failure Type: Others

Found In Build/Fixed In Build: n/a / docs

Priority/Frequency: Normal /

Locale/System: / Windows 10 64 bit

Vote Count: 0

On this page:

https://helpx.adobe.com/coldfusion/developing-applications/building-blocks-of-coldfusion-applications/building-and-using-coldfusion-components/cfc-variables-and-scope.html

it says:

“You can access variables in the Arguments scope using structure notation (Arguments.variablename), or array notation (Arguments1 or Arguments["variablename"]).”

Note that: 

Arguments1

should be:

Arguments[1]

As it was in the CF9 docs:

https://www.pwrc.usgs.gov/cfdocs/htmldocs/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-7dfb.html

Attachments:

Comments:

https://helpx.adobe.com/coldfusion/developing-applications/building-blocks-of-coldfusion-applications/building-and-using-coldfusion-components/cfc-variables-and-scope.html
Comment by Saurav G.
29298 | July 12, 2018 01:55:22 PM GMT
Saurav has fixed it. Thanks. Not sure why he only offered the URL in reply. :-)
Comment by Charlie A.
29304 | July 13, 2018 04:30:06 PM GMT