But CF
doesnt need to have variables declared, which is my point. Does it really
matter if it has not been declared?
Steve
--------Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Darren Tracey
Sent: Thursday, April 03, 2003 1:52 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: OT: Force variables to be declared-----Original Message-----
From: Steve Onnis [mailto:[EMAIL PROTECTED]
Sent: Thursday, 3 April 2003 1:33 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: OT: Force variables to be declaredCan anyone explain to me the benifits of declaring a variable before it gets used arpart from if you are wanting to specify a value type faor the variable? eg number, struct ectThe biggest difference (that I can think of) is that your code will throw an error when it gets compiled, telling you that a variable wasn't declared, rather than just producing 'strange and unexpected' behaviour when it runs, that may not be obvious enough for even rigorous testing to notice.Its an ease of maintenance thing.RegardsDarren Tracey---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
