Skip to main content

Steve Gauthier

Member since Jul 23, 2010

Recent Blog Comments By Steve Gauthier

  • Bug With ARGUMENTS Scope And Implicit Array / Struct Creation

    Posted on Jul 25, 2010 at 7:55 PM

    @Ben It's simply a matter of the left side evaluating before the right side. "ARGUMENTS.options" gets wiped out as soon as you implicitly create it as if you set it with ArrayNew()/StructNew(). You'll see the same issue appear javascript and other languages from time to time. Thats where the 'wor... read more »

  • Bug With ARGUMENTS Scope And Implicit Array / Struct Creation

    Posted on Jul 23, 2010 at 10:24 AM

    Not to resurrect an old post, but the workaround for this issue is to assign the arguments to another variable before attempting to overwrite it. Which fits what Todd said "What's happening is that the {} is initializing arguments.data and wiping everything out, thus, it's undefined now." <cfi... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel