Well I would want to ask and argue not to do this...but I'll bite my
tongue.
Why not create a superstructure to hold this. Then you could do
something like:
cfset superstruct=structnew()
cfset structVarName = myStruct /
cfset superstruct[structVarName] = StructNew()/
cfset keyVariable =
thanks! this worked:
cfset variables.structVarName = myStruct /
cfset #structVarName# = StructNew()/
cfset keyVariable = steven.ross /
cfset theValue = a name /
cfdump var=#Evaluate(structVarName)#
cfset variables[structVarName][keyVariable] = theValue /
cfdump
You can also use the SetVariable function if you wanted to avoid the
syntax magic of cfset #var# = some value.
Jeremy
On 3/5/07, Steven Ross [EMAIL PROTECTED] wrote:
Ok I'll let you in on it... heh. Ok so I have a configuration xml file
and I want to be able to dynamically create structs and