Function Ptr

BlitzMax Forums/BlitzMax Programming/Function Ptr

perhaps you have to take out the ret function because you havent created any space for the function or pushed the return address onto the stack (maby that is handled by blitz when you call func() ). I would try taking out the RET instruction but im realy rubish with assembly at the moment. It would be good to know if its running the instructions and then bombing out or finishing them.

I think you would have to compile it in non-debug mode because some of the debug code could put it off.