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:
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