Oddly, I've found that how to do backwards counting in CFLoop. It's using Step attribute of CFLoop. Before I've used Step attribute for skipping count in CFLoop just like retrieving Odd value from List or something else.
For example to get Odd value
2 <cfoutput>#i#</cfoutput>
3</cfloop>
4
5<!--- output --->
61 3 5 7 9
How does Step attribute attribute is very simple. If we don't assign any value in Step attribute, default value is "+1" or "1". If we want to do backwards counting in CFLoop, assign the number of how many time we want in Step attribute with "-" (minus) value.
If we want to do backwards count 1 after 1, assign just like "-1".
2 <cfoutput>#i#</cfoutput>
3</cfloop>
4
5<!--- output --->
610 9 8 7 6 5 4 3 2 1
Thank existdissolve for pointing out my careless.

Android
Top of Page
#1 by existdissolve on 8/5/11 - 11:33 AM
#2 by ppshein on 8/5/11 - 11:35 AM