RE: [Groff] Passing a name and the value to a macro

2009-10-08 Thread Ted Harding
On 08-Oct-09 10:38:13, Miklos Somogyi wrote: > Hello Folks, > > A macro that updates a number register needs the name of the > register, its value and the increment. > Is it possible to do this with only two parameters? I.e. to > recover the name from the \n[reg] value or vice-versa? > > Miklos

[Groff] Passing a name and the value to a macro

2009-10-08 Thread Miklos Somogyi
Hello Folks, A macro that updates a number register needs the name of the register, its value and the increment. Is it possible to do this with only two parameters? I.e. to recover the name from the \n[reg] value or vice-versa? Miklos