Even sub functions or user defined function blocks are supported in Aloahas Workflow Engine. The new function block has to an ini file in the same format and command as the Aloaha Workflow Engine definition files. To call a sub function block just define a block of Type sub and with the parameter path pointing to the ini file with the sub functions!
[CallMySubFunction]
Type=sub
Path=C:\AloahaMacro\sub.ini
Nextblock=MyNextBlock