the bottom line is that dynamic variable notation
has always been a bane of mine... and now that i see
what i was doing wrong, it all makes sense now :)

.... tony "i was never formally taught coldfusion" weeg



On 3/27/06, Deanna Schneider <[EMAIL PROTECTED]> wrote:
> Yah, I was wondering if you meant to go that way, or if you were meaning to
> go the array way, though your notation for it was wonky.
> <cfset request.distinctipaddressnumbers = "1,2,3,4">
> <cfset o = 1>
>
> <cfset temperatureFor_ = arrayNew(1)>
> <cfset temperatureFor_[1] = 89>
>
> <cfset tempStruct_ = arrayNew(1)>
>
> <cfset tempStruct_["#o#"] = temperatureFor_["#listGetAt(
> request.distinctIpAddressNumbers,o)#"]>
>
> On 3/27/06, Tony <[EMAIL PROTECTED]> wrote:
> >
> > thats an "o" for "outer", but thank y'alls anyway, i was impatient and
> > went to the jedimaster for some help, and what i have now come up with
> > is...
> >
> > <cfset session["tempStruct_#listGetAt(request.distinctIpAddressNumbers
> > ,o)#"]
> > = variables["temperatureFor_#listGetAt(request.distinctIpAddressNumbers
> > ,o)#"]>
> >
> > thank ye anyway :)
> > tony
> >
> > On 3/27/06, Robert Everland III <[EMAIL PROTECTED]> wrote:
> > > Stay away from eval, listGetAt(request.distinctIpAddressNumbers,o) is
> > that an O or a zero?
> > >
> > >
> > >
> > >
> > > Bob
> > >
> > >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:201764
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to