Unit tests, CFDUMP (shouldn't be any errant values in a cfdump when cfdumping the variables scope of a CFC, just the ones you set on purpose), or reading your code carefully.

There's not really any way to do it other than being careful and doing thorough tests...

Laterz,
J

On 7/20/05, Peter H <[EMAIL PROTECTED]> wrote:
Hi guys,

Is there a way to test that all local variables in a method have been var
scoped?

For the most part I've create a Local pseudo-scope and have been pretty
careful about using it but it would make me feel a lot more comfortable if
could test it to be sure.

Cheers, Pete

_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters!
http://www.msn.co.uk/newsletters



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

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

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





--
---------------
-------------------------------------
Buy SQLSurveyor!
http://www.web-relevant.com/sqlsurveyor
Never make your developers open Enterprise Manager again. ----------------------------------------------------------
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).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

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

Reply via email to