Hi Joseph,

Thanx worked like charm DUDE!

Cheers

//L

-----Original Message-----
From: Joseph DeVore [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2001 11:59
To: CF-Talk
Subject: RE: Evaluate function


Leon,

<cfloop list="a,b,c,d" index="i">
  <!--- create the variable --->
  <cfset "#i#_ListVals"="#i#">

  <!--- output the variable --->
  <cfoutput>#evaluate("#i#_ListVals")#</cfoutput>
</cfloop>


Joseph DeVore
VeloxWeb Technologies


-----Original Message-----
From: Leon Greeff [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 1:50 AM
To: CF-Talk
Subject: Evaluate function


Hi there,

I am trying to use the evaluate function to output dynamically created
variables. Ex. I have a list say list=a,b,c,d I want to create variables
from it.

loop through list a,b,c,d

I want to create variable named a_ListVals and b_ListVals and c_ListVals
etc.


Can someone give me some advice how to do it.

TIA



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to