Mike,

CF will evaluate the IF and then decide to include or not.

-Kevin

-----Original Message-----
From: Mike Amburn [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 03, 2000 11:09 AM
To: Cf-Talk
Subject: CFINCLUDE... compiler question


take the following code:

<cfif thisFlag>
   <cfinclude template="thisFile.cfm">
</cfif>

Will ColdFusion evaluate the expression first before it includes the
file -OR- will it include the file before it evaluates the expression?

in other words, does CF say "ok, thisFlag is false, so i won't evaluate
what's in the include file" or will it say "before i look at this, i need to
include everything first"?

thanx for any response
mike

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to