X macro
sentence flow
| ← Previous revision | Revision as of 23:42, 20 April 2026 | ||
| Line 63: | Line 63: | ||
# Prefix the name of the macro that defines the list with "FOR_". |
# Prefix the name of the macro that defines the list with "FOR_". |
||
# Pass name of the worker macro into the list macro. This both |
# Pass name of the worker macro into the list macro. This avoids both the need to define an obscurely named macro (X) and the need to undefine such macro. |
||
# Use the syntax for [[variadic macro]] arguments "..." in the worker macros to be able to accept more arguments than needed. This enables the maintainer of the code to add columns to the list without having to update all the macro definitions. |
# Use the syntax for [[variadic macro]] arguments "..." in the worker macros to be able to accept more arguments than needed. This enables the maintainer of the code to add columns to the list without having to update all the macro definitions. |
||
# Use the name "DO" as the macro name, the argument to the list macro. |
# Use the name "DO" as the macro name, the argument to the list macro. |
||