Function Pointer Questions

BlitzMax Forums/BlitzMax Programming/Function Pointer Questions

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.

Since this probably the only thing I have no experience with I have a few legistical question's about them. If I have a function pointer declared in an object can I:

a) have it point to a method inside the same object? I guess then it'd technically be a method pointer.

b)point to a function within the object?

b.1) point to a free frunction?
b.2)if it points to a free function does this function aquire scope within the object and see it's fields? does it become like a type function or is it simply called from the pointer just as it appears in the code as a free function?