On 8/25/06, Bobby Hartsfield <[EMAIL PROTECTED]> wrote: > > <cfset name = first_name & " " middle_name & " " & last_name /> > <cfif len(trim(suffix)> > <cfset name = name & ", " & suffix /> > </cfif>
Sure that LOOKS readable, but you know CF will be running around trying to figure out which "first_name" field you're referring to. Or you could find out which scopes CF checks first, I guess, but that's not as nifty. Sorta relying on the drum spinning round 'stead of the program, sota speak. Hmmm maybe nifty-er, from perspective B. =] (personal gripe: I 90% don't use variables.somevar notation, mostly cus it's freaking hard to read the code when every var is scoped.) Or that might just be some old info, and scoping isn't so "in" now? Staying hungry, yeah, that's it. ;-) Guess I shoulda read that last post about how the vars are passed around in CF more carefuller, neh? Goes in one ear.. right out the other. I swear! Seriously, scoping vars kind of bugs me. Shouldn't have to do it all the time for a Best Practice- or else make the scope names shorter. ;-P /end of denopinion ranthology & with apologies about clarity, lackthereof. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251111 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

