groff
[Top][All Lists]
Advanced

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

Re: [Groff] pic problem


From: Heinz-Jürgen Oertel
Subject: Re: [Groff] pic problem
Date: Wed, 14 Jul 2004 00:14:00 +0200
User-agent: KMail/1.6.2

Am Dienstag, 13. Juli 2004 23:50 schrieb Larry Kollar:
> .P
> This is a test.
> This is only a test.
> .S -3
> .PS 4.5i
> box wid 8 ht 1 "Chassis ID"
> box wid 8 ht 1 "Slot ID"
> box wid 16 ht 1 "Interface/Port Use"
> box wid 1 ht 1 with .nw at 1st box .sw "32";
> for n = 31 to 1 by -1 do {
>         box wid 1 ht 1;
>         print n;
> }
> .PE
> .S
> .P
> If this had been an actual document
> there would have been some content.

I don't know why your loop using 'by -1' doesn't work,
but in gpic this works:

for n = 1 to 31  do
{
        box wid 1 ht 1 sprintf("%g", 32-n);
}

Regards
  Heinz





reply via email to

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