Check out SetVariable

<cfset dummy = SetVariable(variablename, expression)>


Just a guess:

<CFSET dummy =
SetVariable(Evaluate("CurBills_"&myBillFolder),ListAppend(Trim(Evaluate("Cur
Bills_"&myBillFolder)), myBillnum))>


-----Original Message-----
From: Ric Smith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 23, 2000 4: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=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