Trainings

Friday, June 5, 2009

Coldfusion Daily Dose

1. IsDefined("variable_name")
-------------
The return value is False for an array or structure element referenced using bracket notation. For example, IsDefined("myArray[3]") always returns False, even if the array element myArray[3] has a value.

variable_name can be of following values:
-----------------------------------------
1. A simple variable
2. A named variable with dot notation
3. A named structure with dot notation (for example: mystruct.key