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.
This might be OT, but here goes. Some of these samples seem dated.
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?
James- Both are the same. However, I see what you mean. I’ll change the sample.