> Barney's suggestion to never reference the arguments scope is 
> least likely
> to cause the type of bugs mentioned above, but I just don't 
> like the fact
> that if you haven't passed the argument, and haven't declared 
> the local
> variable ColdFusion will search it's implicit scopes looking for the
> variable which could lead to all sorts of weirdness.

If you prefix everything except local variables (including arguments), you
won't have this problem.  That's another way to tell what's local: it lacks
a scope qualifier.

Cheers,
barneyb

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