Learning ColdFusion 8: All Hail The New ++ Operator

<!---
	Set our goal - the number of hugs
	we hope to get.
--->
<cfset intGoalHugs = 10 />
 
<!---
	Set the number of hugs that we are going
	to start with.
--->
<cfset intHugs = 0 />
 
 
<!---
	Keep looping until our hug count is at least
	as great as our goal hug count.
--->
<cfloop condition="(intHugs LT intGoalHugs++)">
 
	<!--- For each iteration, add TWO hug. --->
	<cfset intHugs++ />
	<cfset intHugs++ />
 
	#intHugs# of #intGoalHugs#<br />
 
</cfloop>

For Cut-and-Paste