>- see footer for list info -<
<cfset coming1 = "eval">
<cfset coming2 = "uate">
<cfset coming3 = " is ">
<cfset coming4 = "nasty">

<cfoutput>
<cfloop from="1" to="4" index="i">
#variables["coming"&i]#
</cfloop>
</cfoutput>

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Richard Lovelock
Sent: 27 May 2005 16:16
To: cfdev
Subject: [CF-Dev] Evaluating


>- see footer for list info -<
Guys

I've had a memory blank and need help...

If I've got a list of variables called 'coming1, coming2, coming3,
coming4' etc etc

how do i loop round and check the value of each one: I was trying to
do something like the following but it isn't outputting anything:

<cfloop from="1" to="28" index="i"?
         <cfoutput>Value is: #evaluate("coming#i#")#</cfoutput>
</cfloop>

What do i need to do?

--
Richard Lovelock
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to