ColdFusion is considered typeless because you do not explicitly specify variable data types.
However, ColdFusion data, the constants and the data that variables represent, do have data types, which correspond to the ways the data is stored on the computer.
ColdFusion data belongs to the following type categories:
Category |
Description and types |
---|---|
Simple |
Represents one value. You can use simple data types directly in ColdFusion expressions. ColdFusion simple data types are:
|
Complex |
A container for data. Complex variables generally represent more than one value. ColdFusion built-in complex data types are:
|
Binary |
Raw data, such as the contents of a GIF file or an executable program file |
Object |
COM, CORBA, Java, web services, and ColdFusion Component objects: Complex objects that you create and access using the cfobject tag and other specialized tags. |
For more information on ColdFusion data types, see Using ColdFusion Variables.