I wrote this object to replace my use of Power Function in version 1.5. Power Function unfortunately did not make it to MMF2. I hope you find it useful.
This object provides flexible looping, local functions (all similiar to Power Function), but also adds global function calls, and expression processing with IF/THEN capability.
I hope to include this in the next bonus pack, but given this is a way off, here is a fully functional 'early' version.
Pick up this extension, and a new maze example which shows how to use Power Function and SQLDB to generate mazes, at my new downloads page http://www.extramind.com/downloads.htm