Learning ColdFusion 9: The Ternary Operator

<!--- Test condition. --->
<cfif boolean>
 
	<!--- Execute true statement and store in output. --->
	<cfset output = "It was True" />
 
<cfelse>
 
	<!--- Execute false statement and store in output. --->
	<cfset output = "It was False" />
 
</cfif>

For Cut-and-Paste