Community Member Profile
- Profile: /members/2523-Shayne-Sweeney.htm
- URL: http://theshayne.com
- Comments: 3
- Points: 1
Recent Blog Comments By Shayne Sweeney
-
ColdFusion 8's CFLoop Passes Array By Reference?
Posted on Dec 27, 2007 at 3:38 PM
It's very possible that the code is using an underlying iterator to control the "loop." Here's an example of how the iterator works... <cfset array = ["a", "b", "c", "d"] /> <cfset iterator = array.valuesIterator() /> <cfloop condition="iterator.hasNext()">... read more »
-
Ask Ben: Recursive Numeric Pyramid
Posted on Dec 11, 2007 at 2:26 PM
@Gareth Yeah - I took a different approach to the problem. Not so say which is better, faster, stronger, etc... (daft punk anyone?). Warning! My opinion: I don't think the few milliseconds it takes to create the object would warrant the need to implement something procedurally, inline... read more »
-
Ask Ben: Recursive Numeric Pyramid
Posted on Dec 11, 2007 at 1:19 PM
Here's my take. Comments are welcome. <cfscript> min = 0; max = 4; // code: http://shayne.pastebin.com/f9f28c41 myCounter = CreateObject("component", "Counter").init(min,max... read more »



