Data Types - MACROMEDIA COLDFUSION MX 61-DEVELOPING COLDFUSION MX Develop Manual

Developing coldfusion mx applications
Table of Contents

Advertisement

Scope
Description
CGI
Environment variables identifying the context in which a page was requested. The
variables available depend on the browser and server software.
Cookie
Variables maintained in a user's browser as cookies.
Client
Variables that are associated with one client. Client variables let you maintain state
as a user moves from page to page in an application and are available across
browser sessions.
Session
Variables that are associated with one client and persist only as long as the client
maintains a session.
Application
Variables that are associated with one, named, application on a server. The
cfapplication
Server
Variables that are associated with the current ColdFusion server. This scope lets
you define variables that are available to all your ColdFusion pages, across multiple
applications.
Flash
Variables sent by a Macromedia Flash movie to ColdFusion and returned by
ColdFusion to the movie.
Arguments
Variables passed in a call to a user-defined function or ColdFusion component
method.
This
Variables that are declared inside a ColdFusion component or in a
that is not part of a ColdFusion component.
function local
Variables that are declared in a user-defined function and exist only while the
function executes.

Data types

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
Simple
Complex
tag
attribute specifies the application name.
name
Description and types
Represents one value. You can use simple data types directly in ColdFusion
expressions. ColdFusion simple data types are:
• strings, such as "This is a test."
• integers, such as 356
• real numbers, such as -3.14159
• Boolean values, True or False
• date-time values, such as 3:00 PM July 12, 2001
A container for data. Complex variables generally represent more than one value.
ColdFusion built-in complex data types are:
• arrays
• structures
• queries
tag
cffunction

Data types

45

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION MX 61-DEVELOPING COLDFUSION MX and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion mx

Table of Contents