Yes, you can do it. No, you should not.
Why? Consider this: <cfset x.y = 1> <cfset x.z = 2> You probably think you have created a structure with two keys, right? Wrong. You have actually created two variables. One is named "x.y", and one is named "x.z". To correctly use dot notation, you should do: <cfset x = structNew()> etc. ======================================================================= Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email : [EMAIL PROTECTED] Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Craig Thomas [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 24, 2002 11:49 AM > To: CF-Talk > Subject: dot notation > > > Hi. Can someone tell me if creating variable names like > 'vis.someThing' or > 'varibales.vis.someThing' or 'session.vis.someThing' is > permissible (or a > good/bad idea)? how about with a custom tag i.e.: > caller.vis.something / > arrtibutes.vis.something and <cf_optionList vis.someThing="1">? > > -Craig Thomas > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists