Literals
Numbers
Numbers are either integers or floating point numbers in the following notation:
42
-13.42
Important to note for floating point numbers is that they must always be specified in English notation with ".
" as decimal separator and without thousands separator when they appear directly in a TL script expression. In outputs and inputs, however, numbers can of course be formatted with the conventions of the user's language, see Number Format.
Boolean values
true
The literal for the boolean value "true".
false
The literal for the boolean value "false".
Strings
The expressions "some string"
and 'some other string'
represent the literal string values some string
and some other string
, respectively.
Note: In an internationalized application, a string should not be used directly to communicate with the user. Internationalized texts should be used instead.
No value
null
The literal for the empty/undefined value "null
".