This discussion has been locked.
You can no longer post new replies to this topic. If you have an question you can start a new discussion

Row of function pointers

I have one constant array of function pointers in item space and MYSELF an trying to declare a cursor variable to point go this attire and then assign the line address to the pointer variable.

The C51 compiler gives an error 213 for this assignment.

Is there anything obviously wrong with what MYSELF am trying to do.

extern const void (code * code ArrayOfFunc[])();

void (code * code * xdata ptrArrayOfFunc[])();

main() {
ptrArrayOfFunc = ArrayOfFunc;
}

Thanks