groff
[Top][All Lists]
Advanced

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

RE: [Groff] Looping and printing indices in groff


From: Ted Harding
Subject: RE: [Groff] Looping and printing indices in groff
Date: Mon, 13 Mar 2006 12:54:03 -0000 (GMT)

On 13-Mar-06 Robert Marks wrote:
> Having installed a new font, I now want to print all characters.
> I thought of having a loop:
> 
> for i=1 to 350 do X
> "i" "\N'i'"
> X
> 
> But this won't work, of course.
> How can I do such a thing?

.nr NN 0 1
.while \n+[NN]<255 \n[NN]\0\N'\n[NN]'\0\0

is one way.

Best wishes,
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Fax-to-email: +44 (0)870 094 0861
Date: 13-Mar-06                                       Time: 12:54:01
------------------------------ XFMail ------------------------------




reply via email to

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