Backslash Substitutions
The following backslash substitutions are valid in words making up Tcl commands, except inside braces:
- \a
Audible alert (0x07)
- \b
Backspace (0x08)
- \f
Form feed (0x0C)
- \n
Newline (0x0A)
- \r
Carriage return (0x0D)
- \t
Horizontal tab (0x09)
- \v
Vertical tab (0x0B)
- \space
Space (0x20)
- \newline
Newline (0x0A)
- \ddd
Octal value (d = 0 −7)
- \xd ...
Hexadecimal value (d = 0 −9, a−f)
- \c
Replace \
c
with characterc
- \\
A backslash
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.