Mercurial > hg > index.cgi
view COPYING @ 555:bbc600db5016
Add \Ln and {Ln} standing for the length of the specified argument in macros
It seems useful to be able to identify the length of a macro argument. Add
argument expansion syntax replaced with the length of the specified
argument:
\Ln or {Ln} will return the length of the nth argument, or zero if there is
no nth argument. Argument 0 is the macro name.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sun, 23 Jul 2023 17:07:58 -0600 |
parents | 659e0e4ce50c |
children |
line wrap: on
line source
See the file GPL3 for a copy of the GNU General Public License, version 3, under which the majority of this distribution is licensed. Any exceptions will be noted in the relevant source files.