Does MikroBasic support array of functions through function pointers?
Function pointers are supported we can have
Code: Select all
typedef FunctionType as sub procedure()
dim function_ptr as ^FunctionType
sub procedure fct()
end sub
main:
function_ptr = @fct
The following throughs an "Array of functions can not be declared" error.
Code: Select all
typedef FunctionType as sub procedure()
dim array_function_ptr as ^TramFunctionType[2]
Thanks.