CFFiddle for Spreadsheet, List, Struct, and Date/Time functions

November 12, 2018
Staff 22 posts
Followers: 1 people
2

CFFiddle for Spreadsheet, List, Struct, and Date/Time functions

Staff 22 posts
Followers: 1 people
November 12, 2018

In a previous blog, we’d mentioned that we have started linking code samples in docs to CFFiddle links.

Building upon our previous efforts, we’ve now extended CFFiddle to the following function categories:

The next task is to link CFFiddle with Query and Decision functions, and also a few File functions.

As always, please use CFFiddle to test the samples. If there are sample(s) that you want to be modified/corrected, share the link in this thread or send me a mail, saghosh@adobe.com.

Please send us your feedback and suggest ways for a more fruitful collaboration.

Comments (2)
2018-11-27 19:39:26
2018-11-27 19:39:26

This might be OT, but here goes. Some of these samples seem dated.

On https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-a-b/arraytolist.html

I feel confused.

For example

<cfscript>
       // Declare an array
       myArray=ArrayNew(1);
       myArray=["Google","Microsoft","Adobe","Facebook","Amazon"];
       myConvertedList=myArray.toList();
       WriteOutput(myConvertedList);
</cfscript>

Vs

<cfscript>
       // Declare an array
       myArray=["Google","Microsoft","Adobe","Facebook","Amazon"];
       myConvertedList=myArray.toList();
       WriteOutput(myConvertedList);
</cfscript>

If I were a new developer I would be confused by what myArray=ArrayNew(1); does.

Is it necessary? If I don’t do it, do I get something different?

 

Like
(1)
>
James Mohler
's comment
2018-11-28 08:08:01
2018-11-28 08:08:01
>
James Mohler
's comment

James- Both are the same. However, I see what you mean. I’ll change the sample.

Like
(1)
Add your comment