User Guide

Chapter 13
Extending ColdFusion Pages
with CFML Scripting
ColdFusion offers a server-side scripting language, CFScript, that provides
ColdFusion functionality in script syntax. This JavaScript-like language gives
developers the same control flow, but without tags. You can also use CFScript to
write custom functions that you can use anywhere a ColdFusion expression is
allowed.
This chapter describes the CFScript languages functionality and syntax.
Contents
About CFScript........................................................................................................244
The CFScript Language...........................................................................................245
Interaction of CFScript with CFML........................................................................249
Defining and Using Custom Functions.................................................................250