Re: check for unvared variables in a cfc

2006-08-10 Thread Tom Chiverton
On Wednesday 09 August 2006 23:18, Munson, Jacob wrote: If you have another variable with the same name as a CFC variable in the same scope, your CFC's variable values could 'bleed' into your other scope variable. That's about it - typical things that happen are that query results or loop

Re: check for unvared variables in a cfc

2006-08-10 Thread Denny Valliant
Yeah, where it totally kills you is recursive functions. You /gotta/ var those! :D On 8/10/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 09 August 2006 23:18, Munson, Jacob wrote: If you have another variable with the same name as a CFC variable in the same scope, your CFC's

RE: check for unvared variables in a cfc

2006-08-10 Thread Russ
so I want to make sure I am dong stuff correctly-- and know why :) Thanks! ~Brad -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 4:12 PM To: CF-Talk Subject: check for unvared variables in a cfc We have a bunch of CFC's with many

RE: check for unvared variables in a cfc

2006-08-10 Thread Russ
[mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 7:21 AM To: CF-Talk Subject: Re: check for unvared variables in a cfc Yeah, where it totally kills you is recursive functions. You /gotta/ var those! :D On 8/10/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 09 August 2006

RE: check for unvared variables in a cfc

2006-08-10 Thread Sean Coyne
http://www.schierberl.com/varScoper/ -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 9:14 AM To: CF-Talk Subject: RE: check for unvared variables in a cfc Well most of us know why we should var the local variables inside a cfc function, but my

Re: check for unvared variables in a cfc

2006-08-10 Thread Robertson-Ravo, Neil (RX)
-Original Message- From: Russ To: CF-Talk Sent: Thu Aug 10 14:13:59 2006 Subject: RE: check for unvared variables in a cfc Well most of us know why we should var the local variables inside a cfc function, but my question was, are there tools that help you find unvared variables? I

RE: check for unvared variables in a cfc

2006-08-10 Thread Russ
Thank you, this is perfect. -Original Message- From: Sean Coyne [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 9:21 AM To: CF-Talk Subject: RE: check for unvared variables in a cfc http://www.schierberl.com/varScoper/ -Original Message- From: Russ [mailto

Re: check for unvared variables in a cfc

2006-08-10 Thread Tom Chiverton
On Thursday 10 August 2006 14:13, Russ wrote: I though I saw something somewhere at one point but can't seem to find it. Umm, yeah, Charlies post about 2 minutes after the start of the thread :-) -- Tom Chiverton This email is sent for and

Re: check for unvared variables in a cfc

2006-08-10 Thread Charlie Griefer
w00t! i wasn't just imagining that i made that post after all :) On 8/10/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 10 August 2006 14:13, Russ wrote: I though I saw something somewhere at one point but can't seem to find it. Umm, yeah, Charlies post about 2 minutes after the

RE: check for unvared variables in a cfc

2006-08-10 Thread Russ
Sorry... totally missed that post... -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 9:49 AM To: CF-Talk Subject: Re: check for unvared variables in a cfc On Thursday 10 August 2006 14:13, Russ wrote: I though I saw something

Re: check for unvared variables in a cfc

2006-08-10 Thread Tom Chiverton
On Thursday 10 August 2006 14:56, Charlie Griefer wrote: w00t! i wasn't just imagining that i made that post after all :) Bless keeping email for longer than a day :-) -- Tom Chiverton This email is sent for and on behalf of Halliwells

check for unvared variables in a cfc

2006-08-09 Thread Russ
We have a bunch of CFC's with many methods which are persisted in the application scope. Some of these methods don't have all their variables var'ed, and I was wondering if there is a tool/piece of code that can check this for us. I could've sworn I came across it at one point, but can't seem to

Re: check for unvared variables in a cfc

2006-08-09 Thread Charlie Griefer
http://ray.camdenfamily.com/index.cfm/2006/7/20/Var-Scoping-Tool On 8/9/06, Russ [EMAIL PROTECTED] wrote: We have a bunch of CFC's with many methods which are persisted in the application scope. Some of these methods don't have all their variables var'ed, and I was wondering if there is a

RE: check for unvared variables in a cfc

2006-08-09 Thread Brad Wood
sure I am dong stuff correctly-- and know why :) Thanks! ~Brad -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 4:12 PM To: CF-Talk Subject: check for unvared variables in a cfc We have a bunch of CFC's with many methods which are persisted

RE: check for unvared variables in a cfc

2006-08-09 Thread Munson, Jacob
If you have another variable with the same name as a CFC variable in the same scope, your CFC's variable values could 'bleed' into your other scope variable. If I understand it correctly, you only have to worry about it with variables in the 'variables' scope, or local variables in the CFC, not