CF RESERVED WORDS

www.

Reserved words in ColdFusion 8

ColdFusion 8 has a set of words, called reserved words, that are used by the ColdFusion Markup Language (CFML). These words should be avoided when creating variables, user-defined function names and custom tag names. The following are pointers on how to avoid using reserved words:

  • Any name starting with cf. However, when you call a CFML custom tag directly, you prefix the custom tag page name with cf_
  • Built-in function names, such as Now or Hash
  • Scope names, such as Form or Session
  • Operators, such as NE or IS
  • The names of any built-in data structures, such as Error or File
  • The names of any built-in variables, such as RecordCount or CGI variable names
  • CFScript language element names such as for, default, or continue

A list of ColdFusion 8 reserved words can be found in Adobes CFML Reference guide.

Comments are closed.