Emre
Member since Nov 11, 2013
- Profile: /members/11398-emre.htm
- Comments: 3
Recent Blog Comments By Emre
-
Using Labeled Loops In ColdFusion
Posted on Sep 6, 2023 at 10:48 AM
I think my previous post didn't account for the last break in the outer while loop. Instead of using a break when it reaches the end, it needs a condition in the outer while, but below is the same code without the labeled out-of-sequence-breaking loops. function isFuzzyMatch(targetValue, se... read more »
-
Using Labeled Loops In ColdFusion
Posted on Sep 6, 2023 at 10:42 AM
Great, but in the example you don't need any of this. On line 37 instead of setting matchFound = true, just return true. No reason to keep going any further. You don't even need the matchFound variable. Replace line 53 with a normal break, since breaking from inner loop will do same as conti... read more »
-
Learning ColdFusion 8: Implicit Struct And Array Creation
Posted on Nov 11, 2013 at 8:55 AM
Works: <cfset local.rv = [iif(arguments.in.elementid,1,0)]> Does not Work: <cfset local.rv = [iif(arguments.in.elementid!=0,1,0)]> Conclusion: coldfusion sucks...... read more »