It will evaluate the if statement. If it's true it will do what's inside
the if.
If the statement is false the template wont be included.
--K
> -----Original Message-----
> From: Mike Amburn [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, August 03, 2000 8: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/[email protected]/
> 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/[email protected]/
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.