Источник:
http://axcoder.blogspot.com/2007/01/abstract-macro.html
==============
Recently published article about trick, whch I have often used in BAAN and sometimes in Dynamics Ax programming.
read the article at Axaptapedia
Two days ago I have added a new inventory dimension and was impressed how many work can be eliminated using this trick...
But don't overuse macros in can lead to less readability of your code.
One time I have used macros to build something like
internal DSL to describe mapping of Ax tables to interface tables on SQL server and now one my ex-collegue claim it is unreadable.
Источник:
http://axcoder.blogspot.com/2007/01/abstract-macro.html