Use an array or a struct instead of an index on the end of a string? Ie: #attributes.userrightvalue[myindex]# Or #attributes.userrightvalue["index_" & myindex]#
Paul > -----Original Message----- > From: Dave Phipps [mailto:[EMAIL PROTECTED] > Sent: 20 August 2003 14:34 > To: ColdFusion User group > Subject: [ cf-dev ] Elegant Solution > > > Is there a more elegant solution to doing the following: > > #Evaluate("attributes.userrightvalue_" & myindex)# > > myindex is a value from a list that is looped through. I > would like to > avoid the use of the Evaluate(). > > MTIA > > Dave > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] For human help, e-mail: > [EMAIL PROTECTED] > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
