Q: But what about when I want a component to inherit the variables that are
in a calling component?


-----Original Message-----
From: Phillip Senn [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 10, 2006 9:19 AM
To: '[email protected]'
Subject: RE: [CFCDev] cfc scope issues

I think I understand your question, because I had the same kind of question
before.  In essence, it's this:
Q: "I know all the variables are supposed to be passed into a cfc as
parameters, but aren't there any exceptions?"
A: No, there are no exceptions.

Q: Why?
A: Because you would be assuming that your cfc is being used by only your
application.  If you require all the variables to be passed as parameters,
you could use your cfc in any application.

Q: What about Application scoped variables.
A: Pass them as parameters.

Q: What about constants?
A: Pass them as parameters.

Q: What about...
A: Shhhh!

Q: But...
A: Shhhh!

Q: I...
A: Shhhh!




----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to