Is it possible to define a m4 macro (without arguments), which expands to 1 on first invocation, expands to 2 on second invocation, and so on? In other words, it should have internal memory storing the number of times it is invoked. Can this be done?
Asked by adgadg
(69 rep)
May 2, 2016, 08:49 AM
Last activity: Jan 31, 2022, 02:37 PM
Last activity: Jan 31, 2022, 02:37 PM