<!--- Method to increment count variable. ---> <cffunction name="incrementCount"> <cfreturn ++count /> </cffunction> <!--- Create initial count. ---> <cfset count = 0 /> <!--- Unlike the IIF() method call, the ternary operator is short-circuited so the second incrementCount() method call will never execute. ---> <cfset (true ? incrementCount() : incrementCount()) /> <!--- Output current count. ---> Count: #count#