Another way: setVariable("LegalProteinSequence_" & loopcount, "this-is-a-value");
On Tue, Sep 28, 2010 at 3:42 PM, Rick Colman <rcol...@cox.net> wrote: > > so, do I need to declare an array in advance, or is this implicit. > > so, I guess this does not work either: > > <cfset LegalProteinSequence_#LoopCount# = ... > > On 9/27/2010 10:10 PM, Ian Skinner wrote: > > On 9/27/2010 7:37 PM, Michael Grant wrote: > >> #form['ExpOrg_ID_'& loopCount]# > >> > > A.K.A. "Array Notation" and can be applied to any variable scope, not > > just the form scope, though that is probably the most common. > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337628 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm