EAGLE Help

Escape Sequences


An escape sequence consists of a backslash (\), followed by one or more special characters:

Sequence Value
\a audible bell
\b backspace
\f form feed
\n new line
\r carriage return
\t horizontal tab
\v vertical tab
\\ backslash
\' single quote
\" double quote
\O O = up to 3 octal digits
\xH H = up to 2 hex digits

Any character following the initial backslash that is not mentioned in this list will be treated as that character (without the backslash).

Escape sequences can be used in character constants and string constants.

Examples

'\n'
"A tab\tinside a text\n"
"Ring the bell\a\n"

Index Copyright © 2005 CadSoft Computer GmbH