One sentence?  Okay:

#s are ONLY needed within a string or a block of text/HTML, to show that the
enclosed content needs to be evaluated.

Examples of strings include:
- double-quoted tag attributes
- stuff inside <CFOUTPUT></CFOUTPUT>
- double-quoted expressions on the left or right of a CFSET's equals-sign

NOT included:
- unquoted tag attributes (dangerous!)
- unquoted expressions on the right of a CFSET's equals-sign


How is that?
Lee (Bjork) Borkman
http://bjork.net ColdFusion Tags by Bjork




-----Original Message-----
From: Michael Buffington [mailto:[EMAIL PROTECTED]]

I need a one sentence "rule of thumb" that explains how and when to use #'s
in code:...


IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to