You cant use var unless it is inside a function and you can only declare it once so the example below would infact error. if thats what you have you need to remove the second "var" in the cfset
_____ From: Kevin Pepperman [mailto:[email protected]] Sent: Wednesday, 19 August 2009 5:04 PM To: [email protected] Subject: [cfaussie] Re: Error : Cannot declare local variable cfcatch twice Sounds like you have used the var "cfcatch" and declared the var twice. eg <cfset var cfcatch = ""> <cfset var cfcatch = ""> On Wed, Aug 19, 2009 at 2:56 AM, Brett Payne-Rhodes <[email protected]> wrote: Can you provide a code snippet? B) Sanjeev wrote: > Hi All, > > > I migrated my CFMX6.1 application to CF8 on my local dev machine and > getting the following error. > > > Cannot declare local variable cfcatch twice. Local variables cannot > have the same names as parameters or other local variables. > > Please let me know how it can be resolved. > > > > -- Brett Payne-Rhodes Eaglehawk Computing t: +61 (0)8 9371-0471 m: +61 (0)414 371 047 e: [email protected] w: http://www.yoursite.net.au -- -- if you've written a homegrown[*CFML] controller layer that rivals the sophistication and ease of use of the three major players (MG/MII/FB) - then share it or shut up. You code in a silo - that's great. Just stay in there and don't try to tell everyone how good it smells. --Dave Ross --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
