I get an error with your code as well. I get a different error
though. The error with your code is more of a syntax issue though.
I believe the cause of the initial error is CF doesn't want me to
use the evaluate function to dynamicly name a variable.

Any ways around this? Thanks.

-------
Just in time compilation error

Invalid parser construct found on line 127 at position 46. ColdFusion was
looking at the following text:

=
Invalid expression format. The usual cause is an error in the expression
structure.
--------



Ric Smith

----- Original Message -----
From: "Jamie Keane" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 23, 2000 4:32 PM
Subject: Re: assigning value to dynamic variable


> The proper syntax is:
> <CFSET Evaluate("CurBills_#myBillFolder#"
> =ListAppend(Trim(Evaluate("CurBills_"&myBillFolder)), myBillnum)>
>
> --
> Jamie Keane
> Programmer
> SolutionMasters, Inc.
> 9111 Monroe Rd., Suite 100
> Charlotte, NC  28270
> www.solutionmasters.com
> 704.563.5559 x 228  Voice
> 704.849.9291  Fax
> -----Original Message-----
> From: Ric Smith <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Wednesday, August 23, 2000 4:24 PM
> Subject: assigning value to dynamic variable
>
>
> >How can I accomplish this.
> >
> ><CFSET Evaluate("CurBills_"&myBillFolder) =
> >ListAppend(Trim(Evaluate("CurBills_"&myBillFolder)), myBillnum)>
> >
> >CF doesn't want to let me use a function .
> >
> >-----
> >Just in time compilation error
> >
> >
> >Illegal left hand side of assignment near line 127, column 11. Left hand
> >side cannot be a function call.
> >-------
> >
> >There must be a way to do this, my brain is a little mushy. Help!
> >
> >
> >Ric Smith
> >
>
>---------------------------------------------------------------------------
> ---
> >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> >To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to