CFSCRIPT ColdFusion cheat sheets

Набор подсказок для работы с cfscript в ColdFusion

FOR Loop

User Defined Function (UDF)

Switch Case

If / Else If / Else

While Loop

Do / While Loop

Assign a variable

Single Line Comment

CFScript Component

CF9+

Try / Catch / Throw / Finally / Rethrow

CF9+

FOR IN Loop (Structure)

Multiline Comment

FOR IN Loop (Array)

CF9.0.1+

FOR IN Loop (Query)

CF10+

CFInclude

CF9+

Transactions

CF9+

Struct Literal

CF8+

Array Literal

CF8+

Tip: Don’t forget to include a semicolin ; after each statement!