Seems scoping can hid them (declare a local var with that name, you can't reference the return value within the function), but they always are available everywhere.
You can reference it within the function, but as Variables.cfquery. By adding the var clause, you are declaring a new variable with the same name in a different scope; the local scope is examined for a match before the Variables scope is, so declaring a local one means that the local var cuts in line and "hides" the one you're looking for. But the Variables.cfquery call still works.
--
Ben Curtis
WebSciences International
http://www.websciences.org/
v: 310 478 6648
f: 310 235 2067----------------------------------------------------------
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]
