Syntax

There are two flavors to the Lucee Language, Tags and Script. The entire language is available in Tags or Script. Tags are intended to mix well with HTML and should (almost always) only be used in HTML templates.

Quick Overview

Script

The script based language resembles javascript

The trailing ";" denoting the end of the statement can be ommitted as long as new statements are on a new line, but convention is to keep the ";"

Lucee script supports all Tags in script by simply wrapping the code block in brackets

View the script reference for all language constructs

Tags

The tag based language loosely resembles HTML.

Tags can have bodies or not. Tags without bodies do not need a closing bracket, but some people prefer them stylistically

Tags with bodies always need a closing tag

results matching ""

    No results matching ""