Method pointer?

BlitzMax Forums/BlitzMax Programming/Method pointer?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

What he needs is a function pointer that is able to operate on a "object hierarchy" (not inheritance) parent object.

And just to mention AD: Your code is elementally bugged!
Self within a function is null even if called on a type instance (only methods have a self as they are per instance, while function are per type!). This is a current compiler bug in 1.22 which will be cleaned with the next major version, so better get a "correct" solution to this fake.