Look at DMAZ code in this thread:
http://www.blitzmax.com/Community/posts.php?topic=80553
Its awesome! I won't pretend i fully understand the passing of the 2 functions but this is the best working sourcecode i have found so far.
Goodluck
http://www.blitzmax.com/Community/posts.php?topic=80553
Its awesome! I won't pretend i fully understand the passing of the 2 functions but this is the best working sourcecode i have found so far.
Goodluck