URL is the name of a scope. Like any other scope name, it should be treated as a reserved word. That is, it should **never** be used as a variable name.
My guess is that the algorithm in varscoper just assumes that 'url' is a reference to the scope, and therefore does not flag it as needing var'd. Regardless, I would *strongly* suggest that you rename your variable to something more meaningful, and less reserved. :-) On Wed, Jun 22, 2011 at 10:43 PM, Brettski <[email protected]> wrote: > varscoper doesn't say this needs to be var scoped.. > > <cfset url = event.getValue("url")> > > is that right? > > -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" 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/model-glue?hl=en
