Pointer to function...

BlitzMax Forums/BlitzMax Programming/Pointer to function...

Do you mean something like this:

Type t
  Field func()

  Function create:t(f())
    a:t=New t
    a.func=f
    Return a
  End Function
End Type




Function hi()
  Print "hi!"
End Function


Global g:t=t.create(hi)

g.func()