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
so, do I need to declare an array in advance, or is this implicit.
Existing scopes (Form, Url, Variables, etc) can always be treated this way.
so, I guess this does not work either:
cfset LegalProteinSequence_#LoopCount# = ...
I gave you several examples of this in another thread:
[LegalProteinSequence_#LoopCount#] = ...
cfset variables[LegalProteinSequence_ LoopCount] = ...
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Rick Colman [mailto:rcol...@cox.net]
Sent: Tuesday, September 28, 2010 3:42 PM
To: cf-talk
Subject: Re: arrays
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
#form['ExpOrg_ID_' loopCount]#
On Mon, Sep 27, 2010 at 10:29 PM, Rick Colman rcol...@cox.net wrote:
I can't seem to get this working, and it should not be that tough?
Here what I am trying to do:
* get the number of form variables coming in
* loop through the number of variables
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
6 matches
Mail list logo