In the below code structure, how do I create a new array of function pointers from within the mymethod() method?
I already know you can just define the size as part of the Field, and also that you can probably do it in New(), but I need to do it in a different method. How can I create the function pointer array after having already said that it can potential exist as a field?
Thanks.
Type MyType Field MyFunctions()[] 'Future array of function pointers Method New() MyFunctions=Null End Method Method MyMethod() MyFunctions=New ()[100] 'How? End Method End Type
I already know you can just define the size as part of the Field, and also that you can probably do it in New(), but I need to do it in a different method. How can I create the function pointer array after having already said that it can potential exist as a field?
Thanks.