IsDefined

"-->
 IsDefined ("variable_name") 

Description

Checks to see if the variable name currently exists and returns true or false.

Example

 <cfset exampleVariable = 1>  <cfif  IsDefined("exampleVariable")>  We can use example variable because it is currently set.  Otherwise we could not use  it.  <cfelse>  The example variable has not been set yet.  </cfif>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net