please consider this code:
It won't compile because it won't let me pass a method b() into the test function. If you comment out the duff line, the function c() can be passed in fine.
Don't suppose there's another way to do this apart from turning my method into a function and putting "self." in front of anything important?
Strict Type Ta Method b() End Method Function c() End Function End Type Local a:Ta = New Ta test(a.b) test(Ta.c) Function test(z()) Print "something" End Function
It won't compile because it won't let me pass a method b() into the test function. If you comment out the duff line, the function c() can be passed in fine.
Don't suppose there's another way to do this apart from turning my method into a function and putting "self." in front of anything important?