How to create New array of function pointers?

BlitzMax Forums/BlitzMax Programming/How to create New array of function pointers?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

In the below code structure, how do I create a new array of function pointers from within the mymethod() method?

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.