: Help with CFC and recursion?
On Monday, May 26, 2003, at 17:41 US/Pacific, Shawn Grover wrote:
I've tried a number of combinations for the code, and always seem to
get a
similar result.
You need to use 'var' to declare your variables local - otherwise they
are just instance variables
On Tuesday, May 27, 2003, at 13:14 US/Pacific, Shawn Grover wrote:
As for my use of the CFPROPERTY tags, I know they are kinda useless in
the
manner I'm using them, EXCEPT for documentation.
And of course it all depends on whether you want to use public data
members - this scope - which you
:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 4:10 PM
To: CF-Talk
Subject: Re: Help with CFC and recursion?
snip/
Are other folks relying on cfproperty for auto-documenting public data
members? How do you deal with keeping the cfproperty tags in sync with
what you actually do with this scope
On Tuesday, May 27, 2003, at 16:20 US/Pacific, Shawn Grover wrote:
We're declaring a Clear function which initializes the THIS properties
to a
valid, known state. Our procedure is to ensure the clear function
matches
the CFPROPERTY declarations, and we call the Clear function when the
the isValid method as well.
k, I've rambled on long enough... hope this helps someone out there.
Shawn
-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 5:30 PM
To: CF-Talk
Subject: Re: Help with CFC and recursion?
On Tuesday, May 27, 2003, at 16:20
On Tuesday, May 27, 2003, at 17:30 US/Pacific, Shawn Grover wrote:
We were initially going to create get and set methods for member
variables (not in the THIS scope), but quickly realized this was
meaningless, because I was free to set variables on the object
willy-nilly.
But the variables
6 matches
Mail list logo