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