Original Post
I am working on the game plan now.And I'd like the message to be processed by function array. for example: void f1(); void f2(); void f3(); .... the Message: MSG_A=0 MSG_B=1 MSG_C=2 .... what I want is fun[] and when message MSG_A comes,the program will call fun[MSG_A]. So what I want to know is how to define the function array,and how to call it? Thanks in advance.