the sub tag is for sub function.
From QM Help
Sub-functions are user-defined functions that are embedded in text of their parent QM item (macro etc). Unlike usual QM user-defined functions, they aren't separate QM items that you could manage in the list of macros. Sub-functions can be used in macros, functions, member functions, menus, toolbars and autotexts.
To learn more put the cursor on #sub in the qm editor and press F1.
or read here
http://www.quickmacros.com/help/Language...R_SUB.html
From QM Help
Sub-functions are user-defined functions that are embedded in text of their parent QM item (macro etc). Unlike usual QM user-defined functions, they aren't separate QM items that you could manage in the list of macros. Sub-functions can be used in macros, functions, member functions, menus, toolbars and autotexts.
To learn more put the cursor on #sub in the qm editor and press F1.
or read here
http://www.quickmacros.com/help/Language...R_SUB.html