> Perhaps I'm being anal here, and, folks, feel free to just 
> ignore me. But I still say global is a bad word. As I will 
> describe below, you will see that the variables are NOT global.

The problem with being anal is not knowing when to stop. You guys can argue
all day about the usage of the word "global", but since it isn't defined
within the CFML programming language, none of you can be correct "by
definition". Personally, I find it useful to think of individual CF files as
programs, when called directly by the browser (as opposed to being invoked
through CFINCLUDE or CFMODULE), and within that model, the Request scope is
certainly global - someone else calling the same file is running a separate
copy of the program, with its own "global" variables. When describing the
Request scope to students, I often find it useful to compare it to a
"global" scope, but am generally careful to define this within the context
described above.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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

Reply via email to