• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 2.  Overview of CFML  >  Scope of Variables

Scope of Variables

Scope determines the lifetime of a variable in an application. In other words, it’s the part of the application within which a variable has meaning or a value associated with it. When you create a variable, you can specify its scope by using the <CFINCLUDE> tag.

Some of the variable scopes, along with their prefixes, are listed in Table 2.2.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint