[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with number registers
From: |
Robert Marks |
Subject: |
Problems with number registers |
Date: |
Tue, 11 Jan 2022 14:45:04 +1100 |
After some years, I have returned to groff macros.
I'm trying to write to code, using number registers.
But I'm having problems.
.tm .v = \n(.v
.tm .s = \n(.s
work OK:
.v = 12000
.s = 10
but then
.nr a 1
.nr a +1
.tm a = \na
.nr aa 17
.tm aa = \n(aa
give zeros:
a = 0
aa = 0
Any advice gratefully received, Thanks
Bob Marks
--
https://www.agsm.edu.au/bobm <http://www.agsm.edu.au/bobm>
0407665644
- Problems with number registers,
Robert Marks <=