>- see footer for list info -<
Think I will have to go with Simon's solution as it is a list of form
variables labelled coming1 up to coming28
Does that solution work on CF5 Simon? (just out of interest)
Is there a way of doing this with the evaluate function?
On 5/27/05, Duncan Cumming <[EMAIL PROTECTED]> wrote:
> >- see footer for list info -<
> <cfset vars = "a,b,c,d">
>
> <cfloop index="i" list="#vars#">
> <cfoutput>Value is: #i#</cfoutput>
> </cfloop>
>
>
> Duncan Cumming
> New Media Developer
> Customer Relations Management / Education
> Fife Council
> 700 4105 / 01592 414105
>
> >>> Richard Lovelock <[EMAIL PROTECTED]> 27/05/2005 16:16 >>>
> >- 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 -<
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed and
> should not be disclosed to any other party.
> If you have received this email in error please notify your system manager
> and the sender of this message.
>
> This email message has been swept for the presence of computer viruses but no
> guarantee is given that this e-mail message and any attachments are free from
> viruses.
>
> Fife Council
> Tel: +44 (0) 1592 414141
> **********************************************************************
>
> _______________________________________________
>
> 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 -<
>
--
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 -<