[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Char Printing

From: Kevin Rodgers
Subject: Re: Char Printing
Date: Wed, 25 May 2005 12:21:50 -0600
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Ryan Bowman wrote:
> Suppose I have an integer, say 10.  If I (format "%c" 10)
> it prints a newline.

No, it returns a string containing just a linefeed character.

> If I do (text-char-description 10) it prints "^J".

No, it returns a string containing two characters, caret and capital J.

> Is there a function that will take an int (10) and print "\n"?

If you want to print a newline, use (terpri).  If you want to insert a
newline, use (insert ?\n).

Kevin Rodgers

reply via email to

[Prev in Thread] Current Thread [Next in Thread]