O'Reilly logo

Practical Programming in Tcl & Tk, Third Edition by Brent B. Welch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Reference

Backslash Sequences

Table 1-1. Backslash sequences.
\aBell. (0x7)
\bBackspace. (0x8)
\fForm feed. (0xc)
\nNewline. (0xa)
\rCarriage return. (0xd)
\tTab. (0x9)
\vVertical tab. (0xb)
\<newline>Replace the newline and the leading white space on the next line with a space.
\\Backslash. ('\')
\oooOctal specification of character code. 1, 2, or 3 digits.
\xhhHexadecimal specification of character code. 1 or 2 digits.
\uhhhhHexadecimal specification of a 16-bit Unicode character value. 4 hex digits.
\cReplaced with literal c if c is not one of the cases listed above. In particular, \$, \", \{, \}, \], and \[ are used to obtain these characters.

Arithmetic Operators

Table 1-2. Arithmetic operators from highest to lowest precedence.
- ~ !Unary minus, bitwise ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required