And don't use and @aol.com e-mail address for return mail :)

Sorry, just had to throw that in.  I have an automatic bias against 
people with an aol.com address.  

Marlon


Sandy Clark wrote:

><cfif #variablegoeshere# is 'Constant to compare to'>
>
>In other words don't pound all variables.  Pound variables that need to
>be located within a cfoutput or that have to be between quotes.
>
>Good
>
><cfswitch expression="#variablegoeshere#">
><cfif variablegoeshere is 'constant'>
><cfloop index="count" from="1" to="#listlen(listvar)#">
>
>Bad
><cfif #variablegoeshere# is #variable2goeshere#>
><cfset #variablegoeshere# = "constant">  (unless setting a dynamic
>variable then <cfset 'variablename#dynamicpart#'='constant> works great)
>
>
>One of my pet peeves.  There used to be (probably still is) a good
>article on HOF that details variable usage, but in my minds when I see
>lots of pound signs that are unnecessary, I automaticalliy think
>"newbie" to myself.
>
>Sandy
>
>-----Original Message-----
>From: Candace Cottrell [mailto:CottrellC@;childrensdayton.org] 
>Sent: Thursday, October 17, 2002 12:49 PM
>To: CF-Community
>Subject: Big "dummy" flags
>
>
>As you all probably know, I am fairly new to CF. 
>
>So, I have a client who wants to see a code sample. Are there any "what
>a big dummy" flags in cf code that would cause the person to cringe?
>
>TIA
>
>Candace K. Cottrell, Web Developer 
>The Children's Medical Center 
>One Children's Plaza 
>Dayton, OH 45404 
>937-641-4293 
>http://www.childrensdayton.org
>
> 
>[EMAIL PROTECTED]
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5
Subscription: 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_community
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to