AdobeStock_455007340

Building Dynamic Variables

ColdFusion provides special functions for creating dynamic variables (where the variable name is created dynamically). As of ColdFusion 4 it is possible to create dynamic variables using a simple by specifying a string (within quotes) as the variable name. For example, to create a variable in the CALLER scope (from within a Custom Tag) using an attribute specified name you could do this: . (Applies to: ColdFusion 4 (or later))

Leave a Reply