EAGLE Help Light

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.

Příklady


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


OBSAH Translation © 2001 ELCAD v.o.s., Copyright © 2001 CadSoft Computer GmbH