I think this should work.  Or at least some use of SetVariable() should do
the trick for you.

<cfscript>

            tempVar = SetVariable("#myVar#", "somevalue");

</cfscript>

-----Original Message-----
From: Nikhil Madani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 3:02 PM
To: CF-Talk
Subject: Dynamic variable assignment in CFSCRIPT?

How would one do this in CFSCRIPT-
<cfset someStruct."#myVar#"=somevalue>

TIA
Nikhil

  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to