Its part of the default macro language. A macro can't call another macro directly, but it can click a button. So you can bind macro's to buttons on your UI, and then have the main macro click these buttons.