Next: , Previous: , Up: ref-syn-syn   [Contents][Index]


4.1.7.6 Escape Sequences

A backslash occurring inside integers in ‘0'’ notation or inside quoted atoms or strings has special meaning, and indicates the start of an escape sequence. The following escape sequences exist:

\a           ISO

alarm (character code 7)

\b           ISO

backspace (character code 8)

\t           ISO

horizontal tab (character code 9)

\n           ISO

newline (character code 10)

\v           ISO

vertical tab (character code 11)

\f           ISO

form feed (character code 12)

\r           ISO

carriage return (character code 13)

\e

escape (character code 27)

\d

delete (character code 127)

\xhex-digit…\           ISO

the character code represented by the hexadecimal digits

\octal-digit…\           ISO

the character code represented by the octal digits.

\LFD           ISO

A backslash followed by a single newline character is ignored. The purpose of this is to allow a string or quoted-name to be spread over multiple lines.

\\, \', \", \`           ISO

Stand for the character following the ‘\’.


Send feedback on this subject.