Literals
Literals
Literal strings can be delimited by matching single or double quotes, and can contain the following C-like escape sequences:
\a bell |
\v vertical tab |
\b backspace |
\\ backslash |
\f form feed |
\" double quote |
\n newline |
\’ single quote |
\r carriage return |
\newline embedded newline |
\t horizontal tab |
\ddd ddd is decimal value of character |
Literal strings can also be delimited by matching [[ … ]]. This form may run for several lines,may contain nested [[ … ]] pairs, and do not interpret escape sequences. Convenient for writing program code or other quoted strings. Numerical constants may have an optional decimal part and an optional decimal exponent.