What about making CurBills a structure? Then you could do something like:

<cfset CurBills[myBillFolder] = whatever>

Brad

> -----Original Message-----
> From: Ric Smith [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 23, 2000 1:23 PM
> To: [EMAIL PROTECTED]
> 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=list
s/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