When using native CF tags that return structures (such as cfquery, cfcatch,
cfhttp, cfftp etc.) is it necessary to do "var" scoping for the returned
value?
Thanks in advance,
- j.
Example:
<cfcomponent>
<cffunction>
<cfset var myQuery = "">
<cfset var cfquery = ""> <!--- do I need this? --->
<cfset var cfcatch = ""> <!--- do I need this? --->
<cftry>
<cfquery name="myQuery" datasource="myDSN">
SELECT ...
</cfquery>
<!--- there is a "cfquery" variable here
containing execution time --->
<cfdump var="#cfquery#">
<cfcatch>
<!--- there is a "cfcatch" variable
here. --->
<cfdump var="#cfcatch#">
<cfcatch>
</cftry>
</cffunction>
</cfcomponent>
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]