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

Variables and Type

ColdFusion variables are typeless. Unlike many other computer languages, ColdFusion does not require that you tell it what type of data will be stored in the variable before it is used. So how does ColdFusion know what type of data a variable holds? The decision is made when you use the variable in an expression.

First, consider the assignment statement below:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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