MCENANEY WILLIAM J wrote:

> Here's a note from my friend Ken.  How would he pass to a function each
> character he mentions?  I can't find a list of ASCII charcters that
> includes the back slash notations for representing each character, a
> list including '\n', '\t', '\0', and so forth.  Thanks so much.

> > I need to pass a <CR> h0d, and an H h48. Next I need to pass two live feeds
> > h0a and then elevan more <CR> h0d.

You can pass any character using the octal notation ('\123'). The
complete list of backslash sequences supported by ANSI C is:

C Form  Name    ASCII code (decimal)

\a      BEL     7
\b      BS      8
\t      TAB     9
\n      LF      10
\v      VT      11
\f      FF      12
\r      CR      13
\\      \       92
\?      ?       63
\'      '       39
\"      "       34

\OOO    where each O is an octal digit
\xHH    where each H is a hexadecimal digit

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to