Article View: comp.text
Article #3907Re: Register in troff
From: Pat Sullivan
Date: Fri, 31 Jul 1987 11:27
Date: Fri, 31 Jul 1987 11:27
17 lines
1229 bytes
1229 bytes
In article <2730@crcge1.UUCP> gobbi@crcge1.UUCP writes:
> .nr xx nn
> means :
> the register xx takes the value nn (everybody knows...)
> But what means :
> .nr xx n1 n2
Actually, in ".nr xx nn", nn may be signed, in which case register xx
is incremented or decremented by nn.
In ".nr xx n1 n2", xx takes the value n1, and xx's auto-increment value
is set to n2. After this form of .nr, "\n+(xx" would be interpreted as
the value of xx after incrementing xx by n2; "\n-(xx" would likewise be
interpreted as the value of xx after decrementing xx by n2.
============================================================
Pat Sullivan - {akgua|ihnp4}!sortac!pls - voice 404-257-7382
Technical Details
Message-ID:
<175@sortac.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!mcnc!rutgers!mtune!akgua!sortac!plsReferences:
<2730@crcge1.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!mcnc!rutgers!mtune!akgua!sortac!pls From: pls@sortac.UUCP (Pat Sullivan) Newsgroups: comp.text Subject: Re: Register in troff Message-ID: <175@sortac.UUCP> Date: Fri, 31-Jul-87 07:27:05 EDT Article-I.D.: sortac.175 Posted: Fri Jul 31 07:27:05 1987 Date-Received: Sat, 1-Aug-87 22:20:18 EDT References: <2730@crcge1.UUCP> Reply-To: pls@sortac.UUCP (Pat Sullivan) Organization: AT&T Southern Region, Atlanta Lines: 17 Keywords: .nr