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

Variable Data Types

When you first establish a variable in ColdFusion, it is typeless, meaning that no data type is assigned to it. ColdFusion determines a data type later when you make use of the variable. It does so by considering the context in which you're using the variable. Consider, for example, the following <cfset> command:

<cfset myVariable = 100> 


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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