usually i ONLY use #'s for output. but when dealing with dynamic variable notation i prefer the #'s since i get confused when i look at &'s in there.
tw On 3/29/06, Loathe <[EMAIL PROTECTED]> wrote: > Just a bit of style Nazism to make your day. > > Try and only use ## pound signs of output, whether that be to screen/html or > a document or whatever. > > <cfset session["tempStruct_" & > listGetAt(request.distinctIpAddressNumbers,o)] = variables["temperatureFor_" > & listGetAt(request.distinctIpAddressNumbers,o)]> > > That way if I am looking for something that is wrong with out put, I can do > a find on the pound sign, and limit where it is in the page. Also it just > looks a hell of a lot cleaner. > > Again, this is an opinion, and not something that should be taken as > anything else. > > Has anyone ever done speed/load tests to see if there is a difference > between how the two would run? I know Ray and Michael can sometimes get > into the minutia like I do. > > -- > Timothy Heald > Analyst, Architect, Developer > [EMAIL PROTECTED] > W: 202-228-8372 > C: 703-300-3911 > -----Original Message----- > From: Tony [mailto:[EMAIL PROTECTED] > Sent: Monday, March 27, 2006 4:01 PM > To: CF-Community > Subject: Re: why am i dumb? > > 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:202019 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=89.70.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
