Skip to content

Builtin Functions

Kaspar Papli edited this page Jun 6, 2016 · 1 revision

::eval(expr)

Evaluate the arithmetic expression expr and return the result.
expr - numerical expression


::def(tagName, styleCSS)

Define a new tag with name tagName and styling rules styleCSS. Styling rules must be semicolon-delimited CSS 2.1 rules.
tagName - string
styleCSS - string


::escape(escapedString)

Escape strings of :: and ,,.
escapedString - string


::timeStamp()

Return a timestamp of the format dd-MM-yyyy HH:mm with current time (during compilation).


Clone this wiki locally