This is totally acceptable. Neither way suggested is best, best is the fact that variables should be var scoped, which you correctly do. When it comes to the preferance on setting the types it just that, a preferance, not good or bad, it depends on the methodology that you are using.

Stacy Young wrote:

For queries I normally initialize as a string (maybe not best but works)

<cfset var myQuery = "" />
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words '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]

Reply via email to