Get Byte ptr to type method ?

BlitzMax Forums/BlitzMax Programming/Get Byte ptr to type method ?

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's the ultimate goal here?

You want different functions in various object instances. This probably means you want to create an object, then assign a function pointer within that object. Something like this:
Type FN
	Field f()
End Type

Function hello()
	Print "Hello"
End Function

Function goodbye()
	Print "Goodbye"
End Function

Local h:FN = New FN  ;  h.f = hello
Local g:FN = New FN  ;  g.f = goodbye

Print

h.f
g.f