> 3) Be sure to put OUTPUT="false" in your CFFUNCTION and 
> CFCOMPONENT tags -- otherwise you get white space in your 
> calling page.

+1. Don't forget this when using cffunction for tag-based udf's either.

> 4) This is worth repeating even though it has been covered ad 
> nauseum on this list: ALWAYS ALWAYS ALWAYS use the "var" 
> keyword for ALL local (to a
> method) variables.  This includes "i" in loops, names of 
> queries, etc. -- you will never regret doing it and could end 
> up pulling your hair out if you don't.

See above - it also applies to script-based UDFs.

========================================================================
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email    : [EMAIL PROTECTED]
Blog     : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

----------------------------------------------------------
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).

Reply via email to