Ok, so I've done this and it crashes on my PC but not my laptop.

//prototype
function test_function();

#define TEST_FUNCTION 0
function pFunction(); //function pointer
function* pFunctions[1]; //array of function pointers

pFunctions[TEST_FUNCTION] = test_function; //assign function pointer to array

function test_function()
{
beep();
}

function test_event()
{
pFunction = pFunctions[my.skill50]; //get our stored pointer index via skill variable
pFunction(); //CRASHES HERE ON MY PC BUT NOT THE LAPTOP
}

action test_action()
{
my.emask = ENABLE_CLICK;
my.event = test_event;
my.skill50=TEST_FUNCTION;
}


Chaos is a paradox consistently inconsistent.