Hi, I've been a member here for about 2 years now, so I thought it was time i posted.
I also have come up against something I was hoping to get an answer to. Is it possible for a function pointer to point to a method of a user defined type?
e.g. Is this valid?
I know this is a really trivial example, but I think it illustrates my question.
I also have come up against something I was hoping to get an answer to. Is it possible for a function pointer to point to a method of a user defined type?
e.g. Is this valid?
Type NewClass Field fPointer() Method Test() Print "Hello" End Method End Type Local a:NewClass a=New NewClass a.fPointer = a.Test a.fPointer()
I know this is a really trivial example, but I think it illustrates my question.