And don't use "variables" as the name of your top level struct variable.
Use a name that isn't already used by CF, like "local" or something similar.

Paul Kenney
[EMAIL PROTECTED]
916-212-4359

> -----Original Message-----
> From: Semrau Steven Ctr SAF/IE [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 21, 2004 11:45 AM
> To: CF-Talk
> Subject: RE: Dumping Local Vars Scope
>
>
> An error occurred while evaluating the _expression_:
>
>
>
>  variables = structNew()
>
> Error near line 32, column 7.
>   _____
>
>
> Cannot assign result to symbol variables
>
>
>
> :(
>
> -----Original Message-----
> From: Nathan Strutz [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 21, 2004 2:39 PM
> To: CF-Talk
> Subject: Re: Dumping Local Vars Scope
>
>
> Heald, Tim wrote:
>
> > Thought they were in 5 but hadn't been in 4.5 and previous.  My
> > bad.  Hmm how would you do it then?
> >
>
> <cfif listFirst(server.productVersion) LT 6>
> <cfset variables = structNew()>
> </cfif>
>
> then scope all your variables.
>
> -nathan strutz
>   _____
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to