Let's see the following screenshot taken from an answer of Efficient ways to anonymize a document and the given comment.

Is it possible to remove length, counter, dim, etc, that have been declared in a macro, before leaving the macro?
|
Let's see the following screenshot taken from an answer of Efficient ways to anonymize a document and the given comment.
Is it possible to remove length, counter, dim, etc, that have been declared in a macro, before leaving the macro? |
|||
|
|
No, it's not possible: Actually it might be possible: define a macro While feasible (at least in principle), this is completely useless. Registers should be allocated outside macro definitions: they can be set and used as many times as one wants. So the correct way to define
and all will work. There's no need to allocate a temporary variable. Note: the package |
|||
|
|