mikroC

making it simple...

mikroC - C Compiler for Microchip PIC microcontrollers

The following table shows the available escape sequences in mikroC:

Sequence

Value

Char

What it does

 

 

 

 

\a

0x07

BEL

Audible bell

 

 

 

 

\b

0x08

BS

Backspace

 

 

 

 

\f

0x0C

FF

Formfeed

 

 

 

 

\n

0x0A

LF

Newline (Linefeed)

 

 

 

 

\r

0x0D

CR

Carriage Return

 

 

 

 

\t

0x09

HT

Tab (horizontal)

 

 

 

 

\v

0x0B

VT

Vertical Tab

 

 

 

 

\\

0x5C

\

Backslash

 

 

 

 

\'

0x27

'

Single quote

(Apostrophe)

 

 

 

 

 

 

 

\"

0x22

"

Double quote

 

 

 

 

\?

0x3F

?

Question mark

 

 

 

 

\O

 

any

O = string of up to 3

 

octal digits

 

 

 

 

 

 

 

\xH

 

any

H = string of hex dig-

 

its

 

 

 

 

 

 

 

\XH

 

any

H = string of hex dig-

 

its

 

 

 

 

 

 

 

 

 

page

MikroElektronika: Development tools - Books - Compilers

43