AFAIK it didn't work that way. I could never use it that way either.

Try this:

Code:
void main()
{
   while(1)
   {
      if(key_j)
      {
          void testFunction();
          testFunction = myStruct.myFunction;
          testFunction();
      }   
        
      wait(1);   
    }
}